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

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

<%= t("team.new.club_label") %> <%= @club.name %>

<%= form_with url: public_club_teams_path(@club), multipart: true do %> <%= label_tag "team[name]", t("team.new.name_label") %> <%= text_field_tag "team[name]", nil, required: true, placeholder: t("team.new.name_placeholder") %> <%= label_tag "team[sport]", t("team.sport_label") %> <%= select_tag "team[sport]", sport_catalog_options(@club.sport) %> <%= render "shared/branding_fields", record: Team.new(club: @club), show_inherit_hint: true, legend: t("team.new.branding_legend") %> <%= submit_tag t("team.new.submit"), class: "btn btn-primary" %> <% end %>