<%= f.label field.attribute %>
<% 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 %>