Skip to content

Commit

Permalink
/login page: add internal link to Create_account (for small screens)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvanel committed Dec 20, 2017
1 parent 94e2665 commit 856d882
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ Claim=Revendiquer l''identité de la page courante: "{0}" pour l''utilisateur co
properties_subject=
Create_account=Créer un compte
Login=Déjà membre - Se connecter
Login=Déjà membre: se connecter
5 changes: 4 additions & 1 deletion scala/forms_play/app/controllers/AuthService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ extends Controller

val content =
<div>
<h3 id="login">{I18NMessages.get( "Login", httpRequest.getLanguage())}</h3>
<h3 id="login">{I18NMessages.get( "Login", httpRequest.getLanguage())}
-
<a href="#register" style="font-size: medium">{I18NMessages.get( "Create_account", httpRequest.getLanguage())}</a>
</h3>
{ loginForm }
<p/>
<h3 id="register" name="register">{I18NMessages.get( "Create_account", httpRequest.getLanguage())}</h3>
Expand Down

0 comments on commit 856d882

Please sign in to comment.