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-12.0.0.rc7 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-12.0.0.rc6 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-0.11.4 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-12.0.0.rc5 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-12.0.0.rc4 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-12.0.0.rc3 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-12.0.0.rc2 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-12.0.0.rc1 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-0.11.3 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-0.11.2 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-0.11.1 app/views/pageflow/admin/widgets/_fields.html.erb
pageflow-0.11.0 app/views/pageflow/admin/widgets/_fields.html.erb