summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/helpers/members_helper.rb2
-rw-r--r--app/views/members/_edit.html.erb4
-rw-r--r--app/views/principal_memberships/_edit.html.erb4
3 files changed, 5 insertions, 5 deletions
diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb
index 11e843099..eef03218c 100644
--- a/app/helpers/members_helper.rb
+++ b/app/helpers/members_helper.rb
@@ -47,7 +47,7 @@ module MembersHelper
end.compact.uniq
if content.present?
- content_tag('span', content.join(", "), :class => "info")
+ content_tag('em', content.join(", "), :class => "info")
end
end
end
diff --git a/app/views/members/_edit.html.erb b/app/views/members/_edit.html.erb
index e3c5ec747..8b05ae92f 100644
--- a/app/views/members/_edit.html.erb
+++ b/app/views/members/_edit.html.erb
@@ -4,13 +4,13 @@
:method => :put) do |f| %>
<p>
<% @roles.each do |role| %>
- <label>
+ <label class="block">
<%= check_box_tag('membership[role_ids][]',
role.id, @member.roles.to_a.include?(role),
:id => nil,
:disabled => !@member.role_editable?(role)) %> <%= role %>
<%= render_role_inheritance(@member, role) %>
- </label><br />
+ </label>
<% end %>
</p>
<%= hidden_field_tag 'membership[role_ids][]', '', :id => nil %>
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 %>