]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/edit.html.erb
Merge remote-tracking branch 'upstream/pull/2207'
[rails.git] / app / views / redactions / edit.html.erb
index 2dd63c9cbda9a85d49c2fab3d47f6b0d517effee..cef6188596d756f9c8709238725b7b6954edb640 100644 (file)
@@ -1,22 +1,21 @@
-<% @title = t 'redaction.edit.title' %>
+<% @title = t ".title" %>
 
 <% content_for :heading do %>
-  <h1><%= t 'redaction.edit.heading' %></h1>
+  <h1><%= t ".heading" %></h1>
 <% end %>
 
 <%= form_for(@redaction) do |f| %>
   <%= f.error_messages %>
 
   <p>
-    <%= f.label :title, t('redaction.edit.title') %><br />
+    <%= f.label :title, t(".title") %><br />
     <%= f.text_field :title %>
   </p>
   <p>
-    <%= f.label :description, t('redaction.edit.description') %><br />
+    <%= f.label :description, t(".description") %><br />
     <%= richtext_area :redaction, :description, :cols => 80, :rows => 20, :format => @redaction.description_format %>
   </p>
   <p>
-    <%= f.submit t('redaction.edit.submit') %>
+    <%= f.submit %>
   </p>
 <% end %>
-