+
Sign in
+ @if(loginForm.hasGlobalErrors) {
+
+ @loginForm.globalError.message;
+
+ }
+ @if(flash.containsKey("error")) {
+
+ @flash.get("loginRequired")
+
+ }
+
+
+ @helper.form(controllers.security.routes.LoginCtrl.loginSubmit()) {
+ @CSRF.formField
+
+
+ @inputText(loginForm("email"), '_label -> "",
+ 'class -> "form-control input-xs", 'placeholder -> "Email")
+
+
+ @inputPassword(loginForm("password"), '_label -> "",
+ 'class -> "form-control input-xs", 'placeholder -> "Password")
+
+
+
+
+ }
+
+}
\ No newline at end of file
diff --git a/app/views/main.scala.html b/app/views/main.scala.html
new file mode 100644
index 0000000..5f38e28
--- /dev/null
+++ b/app/views/main.scala.html
@@ -0,0 +1,72 @@
+@(title: String, user: models.users.User )(content: Html)
+
+
+
+
+
+
+