]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/show.html.erb
erblint: fix remaining single quoted strings
[rails.git] / app / views / redactions / show.html.erb
index 36b454188f09a88b9626319e42e68887823e3d0c..a87cca604fd9c220a66fb07d22d24786e3c0fb99 100644 (file)
@@ -1,20 +1,20 @@
-<% @title = t('.title') %>
+<% @title = t(".title") %>
 <% content_for :heading do %>
-  <h1><%= t('.heading', :title => @redaction.title) %></h1>
+  <h1><%= t(".heading", :title => @redaction.title) %></h1>
 <% end %>
 
 <p>
-  <b><%= t '.user' %></b>
+  <b><%= t ".user" %></b>
   <%= link_to(@redaction.user.display_name, user_path(@redaction.user)) %>
 </p>
 <div class="richtext">
-  <b><%= t '.description' %></b>
+  <b><%= t ".description" %></b>
   <%= @redaction.description.to_html %>
 </div>
 
 <% if current_user and current_user.moderator? %>
 <div class="buttons">
-  <%= button_to t('.edit'), edit_redaction_path(@redaction), :method => :get %></td>
-  <%= button_to t('.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('.confirm') } %>
+  <%= button_to t(".edit"), edit_redaction_path(@redaction), :method => :get %></td>
+  <%= button_to t(".destroy"), @redaction, :method => "delete", :remote => true, :data => { :confirm => t(".confirm") } %>
 </div>
 <% end %>