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