Sha256: c4c347be94e05ae49408ddfd291b152e7e9db884246744e2d25343cff07bd8bb

Contents?: true

Size: 481 Bytes

Versions: 92

Compression:

Stored size: 481 Bytes

Contents

<% widgets.each do |widget| %>
  <%= form.semantic_fields_for(widget, builder: ActiveAdmin::FormBuilder) do |fields| %>
    <%= fields.input(:type_name,
                     label: t(widget.role, scope: 'pageflow.widgets.roles'),
                     input_html: {name: "widgets[#{widget.role}]"},
                     include_blank: t('pageflow.widgets.none'),
                     collection: admin_widget_types_collection_for_role(config, widget.role)) %>
  <% end %>
<% end %>

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-17.0.3 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-17.0.2 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-17.0.1 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-17.0.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-16.2.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-16.1.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-16.0.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.8.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-14.5.2 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.7.1 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.7.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.6.1 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.6.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.5.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.4.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.3.0 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.2.2 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.2.1 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-15.2.0 app/views/pageflow/admin/widgets/_fields.html.erb