Tutte le view marketing, legali, viewer, dashboard e admin usano t(); mailer utente-facing e flash localizzati; admin con LocaleResolver e selettore lingua. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
921 B
ERB
19 lines
921 B
ERB
<% content_for :title, t("club.edit.title", name: @club.name) %>
|
|
<% content_for :robots, "noindex, nofollow" %>
|
|
|
|
<div class="wrap" style="padding-top:20px;max-width:560px">
|
|
<h1><%= t("club.edit.heading") %></h1>
|
|
<div class="card">
|
|
<%= form_with url: public_club_path(@club), method: :patch, multipart: true do %>
|
|
<%= label_tag "club[name]", t("club.edit.name_label") %>
|
|
<%= text_field_tag "club[name]", @club.name, required: true %>
|
|
<%= label_tag "club[sport]", t("club.sport_label") %>
|
|
<%= select_tag "club[sport]", sport_catalog_options(@club.sport) %>
|
|
<%= render "shared/branding_fields", record: @club, legend: t("club.branding_legend") %>
|
|
<%= render "shared/billing_profile_fields", record: @club %>
|
|
<%= submit_tag t("club.edit.save"), class: "btn btn-primary" %>
|
|
<% end %>
|
|
</div>
|
|
<p><%= link_to t("club.back_to_club"), public_club_path(@club) %></p>
|
|
</div>
|