97583e410c
- This PR adds the ability to enable and disable features for an account from the super admin.
8 lines
264 B
Text
8 lines
264 B
Text
<div class="field-unit__label">
|
|
<%= f.label field.attribute %>
|
|
</div>
|
|
<div class="field-unit__field">
|
|
<% field.data.each do |key,val| %>
|
|
<%= key %>: <%= check_box "enabled_features", "feature_#{key}", { checked: val }, true, false %>
|
|
<% end %>
|
|
</div>
|