<%= form_tag update_multiple_dashboard_roles_path, method: :patch, remote: true, class: "storytime-modal-form" do %>
<%= submit_tag t('dashboard.sites.save_button'), class: "btn btn-sm btn-primary btn-outline pull-right" %>

Permissions

<%= render 'storytime/dashboard/settings_tabs.html.erb' %> <% @roles.each do |role| %> <% end %> <% @actions.each do |action| %> <% @roles.each do |role| %> <% end %> <% end %>
<%= role.label %> <%= hidden_field_tag "roles[#{role.id}][allowed_action_ids][]", nil %>
<%= action.name %> class="check_boxes optional" id="roles_<%= role.id %>_allowed_action_ids_<%= action.id %>" name="roles[<%= role.id %>][allowed_action_ids][]" type="checkbox" value="<%= action.id %>">
<% end %>