demarches-normaliennes/app/views/fields/features_field/_show.html.haml
2018-08-01 11:55:35 +02:00

7 lines
352 B
Text

%table#features
- Flipflop.feature_set.features.each do |feature|
- if !feature.group || feature.group.key != :production
%tr
%td= feature.title
%td
= check_box_tag "enable-feature", "enable", field.data[feature.name], data: { url: enable_feature_manager_administrateur_path(field.resource.id), key: feature.key }