Fixed to be consistent in the display of errors.

This commit is contained in:
Benjamin Jorand 2008-12-17 09:31:22 +01:00 committed by Loic d'Anterroches
parent e535fbf5e1
commit dbd513b24e

View File

@ -4,7 +4,7 @@
<form method="post" action="{url 'IDF_Views::login'}"> <form method="post" action="{url 'IDF_Views::login'}">
<input type="hidden" name="_redirect_after" value="{$_redirect_after}" /> <input type="hidden" name="_redirect_after" value="{$_redirect_after}" />
{if $error} {if $error}
<p class="px-form-error">{$error}</p> <p class="px-message-error">{$error}</p>
{/if} {/if}
<h3>{trans 'What is your login?'}</h3> <h3>{trans 'What is your login?'}</h3>
<p><label for="id_login">{trans 'My login is'}</label> <input type="text" name="login" id="id_login" value="{$login}" /></p> <p><label for="id_login">{trans 'My login is'}</label> <input type="text" name="login" id="id_login" value="{$login}" /></p>