Sha256: 253aebda7b0d3896a9a876903119b35101e4cbdc7d8dc49d0c974af81cd20bf1

Contents?: true

Size: 677 Bytes

Versions: 7

Compression:

Stored size: 677 Bytes

Contents

<%
  handler_name = local_assigns[:handler_name]
  schema = form.object.options_schema(handler_name)
  attributes = form.object.options_attributes(handler_name)
%>

<%= form.fields_for(:authorization_handlers_options) do |options_form| %>
  <%= options_form.fields_for(handler_name, schema) do |attribute_options_form| %>
    <% attributes.each do |name, attribute| %>
      <%= settings_attribute_input(
            attribute_options_form,
            attribute,
            name,
            label: t("authorization_handlers.#{handler_name}.fields.#{name}", scope: "decidim"),
            tabs_prefix: "#{name}_tabs_prefix"
          ) %>
    <% end %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-admin-0.19.1 app/views/decidim/admin/resource_permissions/_options_form.html.erb
decidim-admin-0.18.1 app/views/decidim/admin/resource_permissions/_options_form.html.erb
decidim-admin-0.19.0 app/views/decidim/admin/resource_permissions/_options_form.html.erb
decidim-admin-0.17.2 app/views/decidim/admin/resource_permissions/_options_form.html.erb
decidim-admin-0.18.0 app/views/decidim/admin/resource_permissions/_options_form.html.erb
decidim-admin-0.17.1 app/views/decidim/admin/resource_permissions/_options_form.html.erb
decidim-admin-0.17.0 app/views/decidim/admin/resource_permissions/_options_form.html.erb