aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-08 11:09:57 +0100
committerPacien TRAN-GIRARD2015-02-08 11:09:57 +0100
commit9079a273501a916262bc50e52f722a9311f12825 (patch)
treee4aeb2c9e7df0e48657c511bf3eea90643f82207 /app/views
parent10f857f6107fc8cebde8b39a04a07bc1945aac38 (diff)
downloadminibay-9079a273501a916262bc50e52f722a9311f12825.tar.gz
Refactor Auth
Diffstat (limited to 'app/views')
-rw-r--r--app/views/fragments/accountInfos.scala.html6
-rw-r--r--app/views/pages/loginForm.scala.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/fragments/accountInfos.scala.html b/app/views/fragments/accountInfos.scala.html
index 8fb0aab..6bf8655 100644
--- a/app/views/fragments/accountInfos.scala.html
+++ b/app/views/fragments/accountInfos.scala.html
@@ -2,7 +2,7 @@
2 2
3@accountData match { 3@accountData match {
4 case Some(account) => { 4 case Some(account) => {
5 <a class="pure-button" href="@routes.Auth.logout()"> 5 <a class="pure-button" href="@routes.Authentication.logout()">
6 <i class="fa fa-sign-out fa-lg"></i> 6 <i class="fa fa-sign-out fa-lg"></i>
7 Logout 7 Logout
8 </a> 8 </a>
@@ -19,12 +19,12 @@
19 } 19 }
20 20
21 case None => { 21 case None => {
22 <a class="pure-button" href="@routes.Auth.logout()"> 22 <a class="pure-button" href="@routes.Authentication.logout()">
23 <i class="fa fa-pencil-square-o fa-lg"></i> 23 <i class="fa fa-pencil-square-o fa-lg"></i>
24 Sign up 24 Sign up
25 </a> 25 </a>
26 26
27 <a class="pure-button" href="@routes.Auth.login()"> 27 <a class="pure-button" href="@routes.Authentication.login()">
28 <i class="fa fa-sign-in fa-lg"></i> 28 <i class="fa fa-sign-in fa-lg"></i>
29 Log in 29 Log in
30 </a> 30 </a>
diff --git a/app/views/pages/loginForm.scala.html b/app/views/pages/loginForm.scala.html
index 5e4d8e5..f359082 100644
--- a/app/views/pages/loginForm.scala.html
+++ b/app/views/pages/loginForm.scala.html
@@ -9,7 +9,7 @@
9 9
10 @views.html.fragments.forms.globalErrors(loginForm) 10 @views.html.fragments.forms.globalErrors(loginForm)
11 11
12 @helper.form(action = routes.Auth.loginSubmit(), 'class -> "pure-form") { 12 @helper.form(action = routes.Authentication.loginSubmit(), 'class -> "pure-form") {
13 13
14 @helper.CSRF.formField 14 @helper.CSRF.formField
15 15