Fix checkbox spacing in group tab of users form

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2419/head
Alex Coles 10 years ago
parent da3b8d6e54
commit fc8f1b152c
  1. 2
      app/views/users/_groups.html.erb

@ -30,7 +30,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= form_for(:user, :url => { :action => 'update' }, :html => {:method => :put}) do %> <%= form_for(:user, :url => { :action => 'update' }, :html => {:method => :put}) do %>
<div class="box"> <div class="box">
<% Group.all.sort.each do |group| %> <% Group.all.sort.each do |group| %>
<label><%= check_box_tag 'user[group_ids][]', group.id, @user.groups.include?(group) %> <%=h group %></label><br /> <label><%= check_box_tag 'user[group_ids][]', group.id, @user.groups.include?(group) %> <%=h group %></label>
<% end %> <% end %>
<%= hidden_field_tag 'user[group_ids][]', '' %> <%= hidden_field_tag 'user[group_ids][]', '' %>
</div> </div>

Loading…
Cancel
Save