% content_for(:title) do %> App Config <% end %> <%= content_for(:title) %> <%= form_with url: super_admin_app_config_url , method: :post do |form| %> <% @allowed_configs.each do |c| %> <%= form.label "app_config[#{c}]", c %> <%= form.text_field "app_config[#{c}]", value: @fb_config[c] %> <% end %> <%= form.submit "Submit" %> <% end %>