Sha256: 85f8e419cd7822f542c1a0acdce043a0add8bdcce09b0fdce8d789cc0f8f030e

Contents?: true

Size: 514 Bytes

Versions: 65

Compression:

Stored size: 514 Bytes

Contents

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

  <%= f.inputs do %>
    <% Pageflow.config.features.each do |feature| %>
      <li>
        <%= 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

65 entries across 65 versions & 1 rubygems

Version Path
pageflow-14.5.2 app/views/admin/features/_form.html.erb
pageflow-15.1.0.beta2 app/views/admin/features/_form.html.erb
pageflow-15.1.0.beta1 app/views/admin/features/_form.html.erb
pageflow-15.0.2 app/views/admin/features/_form.html.erb
pageflow-15.0.1 app/views/admin/features/_form.html.erb
pageflow-15.0.0 app/views/admin/features/_form.html.erb
pageflow-14.5.1 app/views/admin/features/_form.html.erb
pageflow-14.5.0 app/views/admin/features/_form.html.erb
pageflow-15.0.0.rc2 app/views/admin/features/_form.html.erb
pageflow-15.0.0.rc1 app/views/admin/features/_form.html.erb
pageflow-15.0.0.beta4 app/views/admin/features/_form.html.erb
pageflow-15.0.0.beta3 app/views/admin/features/_form.html.erb
pageflow-14.4.0 app/views/admin/features/_form.html.erb
pageflow-15.0.0.beta2 app/views/admin/features/_form.html.erb
pageflow-15.0.0.beta1 app/views/admin/features/_form.html.erb
pageflow-14.3.0 app/views/admin/features/_form.html.erb
pageflow-14.2.1 app/views/admin/features/_form.html.erb
pageflow-14.2.0 app/views/admin/features/_form.html.erb
pageflow-14.1.1 app/views/admin/features/_form.html.erb
pageflow-14.1.0 app/views/admin/features/_form.html.erb