Completa i18n IT/EN/FR/DE/ES su sito pubblico, area autenticata e admin.
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>
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<% content_for :title, "Modifica società — #{@club.name}" %>
|
||||
<% 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>Modifica società</h1>
|
||||
<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]", "Nome società" %>
|
||||
<%= label_tag "club[name]", t("club.edit.name_label") %>
|
||||
<%= text_field_tag "club[name]", @club.name, required: true %>
|
||||
<%= label_tag "club[sport]", "Sport principale" %>
|
||||
<%= label_tag "club[sport]", t("club.sport_label") %>
|
||||
<%= select_tag "club[sport]", sport_catalog_options(@club.sport) %>
|
||||
<%= render "shared/branding_fields", record: @club, legend: "Logo e colori societari" %>
|
||||
<%= render "shared/branding_fields", record: @club, legend: t("club.branding_legend") %>
|
||||
<%= render "shared/billing_profile_fields", record: @club %>
|
||||
<%= submit_tag "Salva", class: "btn btn-primary" %>
|
||||
<%= submit_tag t("club.edit.save"), class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
</div>
|
||||
<p><%= link_to "← Società", public_club_path(@club) %></p>
|
||||
<p><%= link_to t("club.back_to_club"), public_club_path(@club) %></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user