X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5e0a8368c851eaf3350cf8c42ed611fc246f7b58..d13348c0ea27cdb33153564aacf3130b0432157c:/app/views/user/list.html.erb diff --git a/app/views/user/list.html.erb b/app/views/user/list.html.erb index 398debe1e..fcd0c41fc 100644 --- a/app/views/user/list.html.erb +++ b/app/views/user/list.html.erb @@ -1,6 +1,12 @@ <% @title = t('user.list.title') %> -

<%= t('user.list.heading') %>

+<% content_for :head do %> + <%= javascript_include_tag "user" %> +<% end %> + +<% content_for :heading do %> +

<%= t('user.list.heading') %>

+<% end %> <% unless @users.empty? %> <%= form_tag do %> @@ -28,16 +34,10 @@ <%= render :partial => 'user', :collection => @users %> -
+
<%= submit_tag t('user.list.confirm'), :name => "confirm" %> <%= submit_tag t('user.list.hide'), :name => "hide" %>
- - <% end %> <% else %>

<%= t "user.list.empty" %>