]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/index.html.erb
Move onclick handling of tou checkbox to ujs
[rails.git] / app / views / user_blocks / index.html.erb
index adfc0dc28d491edf46b9e200207d412d44c3ddbc..42e75ecf0a5597685a62508820baa2c6ea7cee6d 100644 (file)
@@ -1,10 +1,10 @@
-<% @title = t('.title') %>
+<% @title = t(".title") %>
 <% content_for :heading do %>
-  <h1><%= t('.heading') %></h1>
+  <h1><%= t(".heading") %></h1>
 <% end %>
 
 <% unless @user_blocks.empty? %>
-<%= render :partial => 'blocks', :locals => { :show_revoke_link => (current_user and current_user.moderator?), :show_user_name => true, :show_creator_name => true } %>
+<%= render :partial => "blocks", :locals => { :show_revoke_link => (current_user && current_user.moderator?), :show_user_name => true, :show_creator_name => true } %>
 <% else %>
 <p><%= t ".empty" %></p>
 <% end %>