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