Remove tables from password reset form
This commit is contained in:
parent
f5cbc9c4fe
commit
69e1c2c3ca
1 changed files with 11 additions and 7 deletions
|
@ -6,11 +6,15 @@
|
|||
|
||||
<%= form_tag do %>
|
||||
<%= hidden_field_tag(:token, params[:token]) %>
|
||||
<table id="loginForm">
|
||||
<tr><td class="fieldName"><%= t 'user.reset_password.password' %></td><td><%= password_field(:user, :pass_crypt, {:value => '', :size => 30, :maxlength => 255, :tabindex => 4}) %></td></tr>
|
||||
<tr><td class="fieldName"><%= t 'user.reset_password.confirm password' %></td><td><%= password_field(:user, :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255, :tabindex => 5}) %></td></tr>
|
||||
|
||||
<tr><td colspan=2> <!--vertical spacer--></td></tr>
|
||||
<tr><td></td><td class="submitButton"><input type="submit" value="<%= t'user.reset_password.reset' %>" tabindex="6"></td></tr>
|
||||
</table>
|
||||
<div class="standard-form">
|
||||
<fieldset>
|
||||
<label><%= t 'user.reset_password.password' %></label>
|
||||
<%= password_field(:user, :pass_crypt, {:value => '', :tabindex => 4}) %>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label><%= t 'user.reset_password.confirm password' %></label>
|
||||
<%= password_field(:user, :pass_crypt_confirmation, {:value => '', :tabindex => 5}) %>
|
||||
</fieldset>
|
||||
<input type="submit" value="<%= t'user.reset_password.reset' %>" tabindex="6">
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue