<% content_for :title, t("club.new.title") %> <% content_for :meta_description, t("club.new.meta_description") %> <% content_for :robots, "noindex, nofollow" %>

<%= t("club.new.heading") %>

<%= t("club.new.lead") %>

<%= form_with url: public_clubs_path, multipart: true do %>

<%= t("club.new.section_club") %>

<%= label_tag "club[name]", t("club.new.name_label") %> <%= text_field_tag "club[name]", params.dig(:club, :name), required: true, placeholder: t("club.new.name_placeholder") %> <%= label_tag "club[sport]", t("club.sport_label") %> <%= select_tag "club[sport]", sport_catalog_options(params.dig(:club, :sport) || "pallavolo") %> <%= render "shared/branding_fields", record: Club.new(primary_color: "#e53935", secondary_color: "#ffffff"), legend: t("club.branding_legend") %> <%= render "shared/billing_profile_fields", record: Club.new(billing_country: "IT") %>

<%= t("club.new.section_first_team") %>

<%= label_tag "first_team[name]", t("club.new.first_team_name_label") %> <%= text_field_tag "first_team[name]", params.dig(:first_team, :name), required: true, placeholder: t("club.new.first_team_name_placeholder") %> <%= label_tag :plan, t("club.new.plan_label") %> <%= select_tag :plan, options_for_select([ [t("club.new.plan_free"), "free"], [t("club.new.plan_light"), "premium_light"], [t("club.new.plan_full"), "premium_full"] ], params[:plan] || "free") %>

<%= t("club.new.plan_hint") %>

<% if params[:plan].presence_in(%w[premium_light premium_full]) %> <%= render "shared/refund_guarantee", variant: "checkout" %> <% end %> <%= submit_tag t("club.new.submit"), class: "btn btn-primary" %> <% end %>