<%= form_for(Settings::General.new, url: admin_settings_general_settings_path, html: { data: { action: "submit->config#updateConfigurationSettings", testid: "mascotSectionForm" } }) do |f| %>
Mascot
<%= admin_config_label :mascot_user_id, "Mascot user ID" %> <%= admin_config_description Constants::Settings::General.details[:mascot_user_id][:description] %> <%= f.text_field :mascot_user_id, class: "crayons-textfield", value: Settings::General.mascot_user_id, min: 1, placeholder: Constants::Settings::General.details[:mascot_user_id][:placeholder] %>
<%= admin_config_label :mascot_image_url, "Mascot Image URL" %> <%= admin_config_description Constants::Settings::General.details[:mascot_image_url][:description] %> <%= f.text_field :mascot_image_url, class: "crayons-textfield", value: Settings::General.mascot_image_url, placeholder: Constants::Settings::General.details[:mascot_image_url][:placeholder] %>
Mascot image
<%= render "update_setting_button", f: f %>
<% end %>