<%= f.label :community_name, class: "crayons-field__label" do %> Community name

Used as the primary name for your Forem.

<% end %> <%= f.text_field :community_name, placeholder: "Climbing Life", class: "crayons-textfield", required: true %>
<%= render partial: "admin/shared/logo_upload", locals: { allowed_types: @logo_allowed_types, max_file_size: @max_file_size, f: f, logo: Settings::General.resized_logo } %>
<%= f.label :primary_brand_color_hex, class: "crayons-field__label" do %> Brand color

This will be the "accent" color used for buttons, links, etc.

<% end %>
<%= f.text_field :primary_brand_color_hex, pattern: "^#+([a-fA-F0-9]{6})$", title: "Provide a valid HEX Color or pick your color from the color picker.", placeholder: ::Settings::UserExperience.primary_brand_color_hex, class: "crayons-textfield", "aria-describedby": "color-contrast-error" %>
Who can join this community?
<%= f.radio_button :invite_only_mode, false, class: "crayons-radio", role: "radio" %> <%= label_tag "creator_settings_form_invite_only_mode_false", "Everyone" %>
<%= f.radio_button :invite_only_mode, true, class: "crayons-radio", role: "radio" %> <%= label_tag "creator_settings_form_invite_only_mode_true", "Invite Only" %>
Who can view content in this community?
<%= f.radio_button :public, true, class: "crayons-radio", role: "radio" %> <%= label_tag "creator_settings_form_public_true", "Everyone" %>
<%= f.radio_button :public, false, class: "crayons-radio", role: "radio" %> <%= label_tag "creator_settings_form_public_false", "Members Only" %>
Finally, please agree to the following:

You will have the opportunity to establish the Code of Conduct and Terms and Conditions for the users of your Forem during the setup process.

<%= f.check_box :checked_code_of_conduct, class: "crayons-checkbox", required: true %> <%= f.label :checked_code_of_conduct do %> I agree to uphold our Code of Conduct. <% end %>
<%= f.check_box :checked_terms_and_conditions, class: "crayons-checkbox", required: true %> <%= f.label :checked_terms_and_conditions do %> I agree to our Terms and Conditions. <% end %>
<%= javascript_packs_with_chunks_tag "admin/creatorOnboarding", defer: true %>