developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

#267 closed bug (fixed)

Little mistakes in labels, in jauth's login.form.tpl

Reported by: arnaudj Owned by:
Priority: normal Milestone: Jelix 1.0beta3
Component: jelix:auth Version: trunk
Severity: trivial Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:

Description

In the template lib/jelix-modules/jauth/templates/login.form.tpl, all labels are associated with the login input. Two for attributes need to be corrected.

Here is a patch :

Index: lib/jelix-modules/jauth/templates/login.form.tpl
===================================================================
--- lib/jelix-modules/jauth/templates/login.form.tpl	(révision 576)
+++ lib/jelix-modules/jauth/templates/login.form.tpl	(copie de travail)
@@ -12,12 +12,12 @@
         <td><input type="text" name="login" id="login" size="9" value="{$login}" /></td>
        </tr>
        <tr>
-           <th><label for="login">{@jauth~auth.password@}</th>
+           <th><label for="password">{@jauth~auth.password@}</th>
         <td><input type="password" name="password" id="password" size="9" /></td>
        </tr>
        {if $showRememberMe}
        <tr>
-           <th><label for="login">{@jauth~auth.rememberMe@}</th>
+           <th><label for="rememberMe">{@jauth~auth.rememberMe@}</th>
         <td><input type="checkbox" name="rememberMe" id="rememberMe" value="1" /></td>
        </tr>
        {/if}

Change History (1)

comment:1 Changed 13 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

corrigé dans le trunk

Note: See TracTickets for help on using tickets.