]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/lost_password.html.erb
Use rails 5 version of redirect_back.
[rails.git] / app / views / user / lost_password.html.erb
index 3a7542294009a1b51a5862f097f118d34849cd82..19147e0b075b9457b79c753c8bb9bf842d516055 100644 (file)
@@ -6,8 +6,8 @@
 
 <%= form_tag :action => 'lost_password' do %>
   <div class="standard-form">
-    <label><%= t 'user.lost_password.email address' %></label>
+    <label class="standard-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 %>