<%= f.label field.attribute %>
<% SuperAdmin::AccountFeaturesHelper.filtered_features(field.data).each do |key, val| %>
<% is_premium = SuperAdmin::AccountFeaturesHelper.account_premium_features.include? key %> <% if is_premium %> <% end %> <%= key %> <% should_disable = is_premium && ChatwootHub.pricing_plan == 'community' %> <%= check_box "enabled_features", "feature_#{key}", { checked: val, disabled: should_disable }, true, false %>
<% end %>