openstreetmap-website/app/views/redactions/index.html.erb
Andy Allan 2c7bc36493 Use lazy translation lookups for redactions
Requires renaming the translation keys
2018-04-25 14:39:37 +08:00

10 lines
221 B
Text

<% @title = t('.title') %>
<% content_for :heading do %>
<h1><%= t('.heading') %></h1>
<% end %>
<% unless @redactions.empty? %>
<%= render :partial => 'redactions' %>
<% else %>
<p><%= t '.empty' %></p>
<% end %>