Sha256: 095c64c6df79096ce75e1ffddc15cf454b9ac8f2567a5822e0c320669008391e

Contents?: true

Size: 542 Bytes

Versions: 11

Compression:

Stored size: 542 Bytes

Contents

<%= admin_form_for [:admin, resource], html: {class: 'features'}  do |f| %>
  <%= hidden_field_tag('tab', params[:tab]) %>

  <%= f.inputs do %>
    <% Pageflow.config_for(resource).features.each do |feature| %>
      <li class="input">
        <%= label_tag(feature_state_input_name(resource, feature.name),
                      t(feature.name_translation_key)) %>
        <%= feature_state_select_tag(resource, feature.name) %>
      </li>
    <% end %>
  <% end %>
  <%= f.actions do %>
    <%= f.action(:submit) %>
  <% end %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/views/admin/features/_form.html.erb
pageflow-17.0.3 app/views/admin/features/_form.html.erb
pageflow-17.0.2 app/views/admin/features/_form.html.erb
pageflow-17.0.1 app/views/admin/features/_form.html.erb
pageflow-17.0.0 app/views/admin/features/_form.html.erb
pageflow-16.2.0 app/views/admin/features/_form.html.erb
pageflow-16.1.0 app/views/admin/features/_form.html.erb
pageflow-16.0.0 app/views/admin/features/_form.html.erb
pageflow-15.8.0 app/views/admin/features/_form.html.erb
pageflow-15.7.1 app/views/admin/features/_form.html.erb
pageflow-15.7.0 app/views/admin/features/_form.html.erb