Sha256: d061ce557d5abf03c7ae4c3407e969deceb811d979bc04162fcd6ce3b735c033

Contents?: true

Size: 1.06 KB

Versions: 56

Compression:

Stored size: 1.06 KB

Contents

<section id="features">
  <div class="row">
    <div class="columns">
      <h3><%= t(".title") %></h3>
    </div>
  </div>

  <%= form_for @permissions_form, url: url_for(action: :update), method: "put" do |form| %>
    <%= form.fields_for :permissions, form.object do |form| %>
      <% form.object.permissions.each do |action, permission| %>
        <%= form.fields_for(action, permission) do |form| %>
          <fieldset class="card <%=action %>-permission">
            <div class="card-divider"><%= t("#{feature.manifest.name}.actions.#{action}", scope: "decidim.features") %></div>
            <div class="card-section">
              <%= form.select :authorization_handler_name,
                authorizations.map { |authorization|
                  [t("#{authorization}.name", scope: "decidim.authorization_handlers"), authorization]
                }, include_blank: t(".everyone") %>
              <%= form.text_field :options %>
            </div>
          </fieldset>
        <% end %>
      <% end %>
    <% end %>
    <%= form.submit t(".submit") %>
  <% end %>
</section>

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
decidim-admin-0.7.4 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.7.3 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.7.2 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.7.1 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.7.0 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.8 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-0.6.8 decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.7 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-0.6.7 decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.6 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-0.6.6 decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.5 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-0.6.5 decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.4 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-0.6.4 decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.3 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-0.6.3 decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.2 app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-0.6.2 decidim-admin/app/views/decidim/admin/feature_permissions/edit.html.erb
decidim-admin-0.6.1 app/views/decidim/admin/feature_permissions/edit.html.erb