remove_useless_empty_space.patch

Marius BALTEANU, 2018-02-22 21:23

Download (1.32 KB)

View differences:

app/views/members/_new_form.html.erb
7 7
  </div>
8 8
</fieldset>
9 9
<fieldset class="box">
10
  <legend><%= toggle_checkboxes_link('.roles-selection input') %> <%= l(:label_role_plural) %></legend>
10
  <legend><%= toggle_checkboxes_link('.roles-selection input') %><%= l(:label_role_plural) %></legend>
11 11
  <div class="roles-selection">
12 12
    <% User.current.managed_roles(@project).each do |role| %>
13 13
      <label><%= check_box_tag 'membership[role_ids][]', role.id, false, :id => nil %> <%= role %></label>
app/views/principal_memberships/_new_form.html.erb
1 1
<fieldset class="box">
2
  <legend><%= toggle_checkboxes_link('.projects-selection input:enabled') %> <%= l(:label_project_plural) %></legend>
2
  <legend><%= toggle_checkboxes_link('.projects-selection input:enabled') %><%= l(:label_project_plural) %></legend>
3 3
  <div class="objects-selection">
4 4
    <div class="projects-selection">
5 5
    <%= render_project_nested_lists(@projects) do |p| %>