summaryrefslogtreecommitdiffstats
path: root/app/views/principal_memberships/_edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/principal_memberships/_edit.html.erb')
-rw-r--r--app/views/principal_memberships/_edit.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/principal_memberships/_edit.html.erb b/app/views/principal_memberships/_edit.html.erb
index d0ab4f10a..224303b7a 100644
--- a/app/views/principal_memberships/_edit.html.erb
+++ b/app/views/principal_memberships/_edit.html.erb
@@ -4,13 +4,13 @@
:method => :put) do %>
<p>
<% @roles.each do |role| %>
- <label>
+ <label class="block">
<%= check_box_tag 'membership[role_ids][]',
role.id, @membership.roles.to_a.include?(role),
:id => nil,
:disabled => !@membership.role_editable?(role) %> <%= role.name %>
<%= render_role_inheritance(@membership, role) %>
- </label><br />
+ </label>
<% end %>
</p>
<%= hidden_field_tag 'membership[role_ids][]', '', :id => nil %>