]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/index.html.erb
erblint: fix remaining single quoted strings
[rails.git] / app / views / redactions / index.html.erb
index 1fa683de8b65a307402e61a95196437f8cdcd24c..e3388fafa006b97ce74e1916d37f877ef5b89531 100644 (file)
@@ -1,8 +1,10 @@
-<% @title = t('redaction.index.title') %>
-<h1><%= t('redaction.index.heading') %></h1>
+<% @title = t(".title") %>
+<% content_for :heading do %>
+  <h1><%= t(".heading") %></h1>
+<% end %>
 
 <% unless @redactions.empty? %>
-  <%= render :partial => 'redactions' %>
+  <%= render :partial => "redactions" %>
 <% else %>
-  <p><%= t 'redaction.index.empty' %></p>
+  <p><%= t ".empty" %></p>
 <% end %>