From c00cb6ae05f548f7ae270a93ad44f57207380406 Mon Sep 17 00:00:00 2001
From: Pacien TRAN-GIRARD
Date: Sun, 8 Feb 2015 20:03:02 +0100
Subject: Put views in packages
---
app/views/pages/auth/loginForm.scala.html | 27 +++++++++++++++++++
app/views/pages/auth/signupForm.scala.html | 43 ++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
create mode 100644 app/views/pages/auth/loginForm.scala.html
create mode 100644 app/views/pages/auth/signupForm.scala.html
(limited to 'app/views/pages/auth')
diff --git a/app/views/pages/auth/loginForm.scala.html b/app/views/pages/auth/loginForm.scala.html
new file mode 100644
index 0000000..f359082
--- /dev/null
+++ b/app/views/pages/auth/loginForm.scala.html
@@ -0,0 +1,27 @@
+@(loginForm: Form[LoginData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("Log in")() {
+
+
+
+
+
Log in
+
+ @views.html.fragments.forms.globalErrors(loginForm)
+
+ @helper.form(action = routes.Authentication.loginSubmit(), 'class -> "pure-form") {
+
+ @helper.CSRF.formField
+
+
+
+
+ }
+
+
+
+
+}
diff --git a/app/views/pages/auth/signupForm.scala.html b/app/views/pages/auth/signupForm.scala.html
new file mode 100644
index 0000000..b026167
--- /dev/null
+++ b/app/views/pages/auth/signupForm.scala.html
@@ -0,0 +1,43 @@
+@(signupForm: Form[SignupData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("Sign up")() {
+
+
+
+
+
Sign up
+
+ @views.html.fragments.forms.globalErrors(signupForm)
+
+ @helper.form(action = routes.Profile.signupSubmit(), 'class -> "pure-form pure-form-stacked") {
+
+ @helper.CSRF.formField
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+}
--
cgit v1.2.3