Sha256: 053d1092a08d3ab636420e9cbf18231d5c41fd95d1e184af6cd228032b333a65

Contents?: true

Size: 517 Bytes

Versions: 4

Compression:

Stored size: 517 Bytes

Contents

<%= semantic_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

4 entries across 4 versions & 1 rubygems

Version Path
pageflow-0.10.0 app/views/admin/features/_form.html.erb
pageflow-0.9.2 app/views/admin/features/_form.html.erb
pageflow-0.9.1 app/views/admin/features/_form.html.erb
pageflow-0.9.0 app/views/admin/features/_form.html.erb