demarches-normaliennes/app/views/fields/features_field/_show.html.haml
2018-04-25 15:42:45 +02:00

7 lines
257 B
Text

%table
- Flipflop.feature_set.features.each do |feature|
- if !feature.group || feature.group.key != :production
%tr
%td= feature.title
%td
= check_box_tag "Enabled", "enabled", field.data[feature.name], disabled: true