<%= form_for(Settings::General.new, url: admin_settings_general_settings_path, html: { data: { action: "submit->config#updateConfigurationSettings" } }) do |f| %>
API Tokens
<%= admin_config_label :health_check_token %> <%= admin_config_description Constants::Settings::General.details[:health_check_token][:description] %> <%= f.text_field :health_check_token, class: "crayons-textfield", value: Settings::General.health_check_token, placeholder: Constants::Settings::General.details[:health_check_token][:placeholder] %>
<%= admin_config_label :video_encoder_key %> <%= admin_config_description Constants::Settings::General.details[:video_encoder_key][:description] %> <%= f.text_field :video_encoder_key, class: "crayons-textfield", value: Settings::General.video_encoder_key, placeholder: Constants::Settings::General.details[:video_encoder_key][:placeholder] %>
<%= render "update_setting_button", f: f %>
<% end %>