Show enabled features for admins in manager

This commit is contained in:
Paul Chavard 2018-04-25 15:09:24 +02:00
parent 5fd1c28007
commit 482b306920
6 changed files with 31 additions and 7 deletions

View file

@ -0,0 +1,7 @@
%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