Standardize submit tags

This commit is contained in:
Thomas Levine 2013-06-11 14:45:59 -04:00 committed by Tom Hughes
parent c789acd39d
commit d2a43c7e4a
4 changed files with 4 additions and 5 deletions

View file

@ -8,6 +8,6 @@
<div class="standard-form">
<label><%= t 'user.lost_password.email address' %></label>
<%= text_field('user', 'email', { :tabindex => 1} ) %>
<input type="submit" value="<%= t'user.lost_password.new password button' %>" tabindex="2">
<%= submit_tag t('user.lost_password.new password button'), :tabindex => 2 %>
</div>
<% end %>

View file

@ -65,8 +65,7 @@
<%= t 'user.new.openid no password' %>
</span>
</fieldset>
<div class="submitButton"><%= submit_tag t('user.new.continue'), :tabindex => 6 %></div>
<%= submit_tag t('user.new.continue'), :tabindex => 6 %>
</div>
<% end %>

View file

@ -15,6 +15,6 @@
<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">
<%= submit_tag t('user.reset_password.reset'), :tabindex => 6 %>
</div>
<% end %>

View file

@ -28,4 +28,4 @@
<p>
<%= f.submit t('user_block.edit.submit') %>
</p>
<% end %>
<% end %>