]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/index.html.erb
Merge branch 'master' into patch/view_migration
[rails.git] / app / views / redactions / index.html.erb
index 1fa683de8b65a307402e61a95196437f8cdcd24c..b6b6ef46e063e8f358eac3c64dc6ad8a440a918f 100644 (file)
@@ -1,8 +1,12 @@
-<% @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' %>
+  <ul id="redaction_list">
+    <%= render @redactions %>
+  </ul>
 <% else %>
-  <p><%= t 'redaction.index.empty' %></p>
+  <p><%= t ".empty" %></p>
 <% end %>