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,13 +1,13 @@
|
||||
<%= label_tag "match[opponent_name]", "Avversario" %>
|
||||
<%= text_field_tag "match[opponent_name]", match.opponent_name, required: true, placeholder: "es. Volley Milano" %>
|
||||
<%= label_tag "match[opponent_name]", t("matches.opponent_label") %>
|
||||
<%= text_field_tag "match[opponent_name]", match.opponent_name, required: true, placeholder: t("matches.opponent_placeholder") %>
|
||||
|
||||
<%= label_tag "match[location]", "Luogo (opzionale)" %>
|
||||
<%= text_field_tag "match[location]", match.location, placeholder: "Palestra, città" %>
|
||||
<%= label_tag "match[location]", t("matches.location_label") %>
|
||||
<%= text_field_tag "match[location]", match.location, placeholder: t("matches.location_placeholder") %>
|
||||
|
||||
<%= label_tag "match[scheduled_at]", "Data e ora" %>
|
||||
<%= label_tag "match[scheduled_at]", t("matches.datetime_label") %>
|
||||
<% scheduled_value = match.scheduled_at&.in_time_zone&.strftime("%Y-%m-%dT%H:%M") %>
|
||||
<%= datetime_local_field_tag "match[scheduled_at]", scheduled_value, required: true %>
|
||||
|
||||
<p style="color:#888;font-size:0.88rem;margin:12px 0 0">
|
||||
La diretta non parte da sola: comparirà in app e sul sito. Avvierai lo streaming dal telefono quando sei in campo.
|
||||
<%= t("matches.form_hint") %>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user