fields_permissions_color_fix.diff

patch - Go MAEDA, 2015-04-09 15:56

Download (742 Bytes)

View differences:

app/views/workflows/permissions.html.erb (working copy)
65 65
          <%= name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %>
66 66
        </td>
67 67
        <% for status in @statuses -%>
68
        <td class="<%= @permissions[status.id][field] %>">
68
        <td class="<%= @permissions[status.id][field].try(:join, ' ') %>">
69 69
          <%= field_permission_tag(@permissions, status, field, @roles) %>
70 70
          <% unless status == @statuses.last %><a href="#" class="repeat-value">&#187;</a><% end %>
71 71
        </td>