Files
MatchLiveTv/backend/app/views/public/matches/_schedule_fields.html.erb
eminuxandCursor b88f44ab1c 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>
2026-07-24 00:38:50 +02:00

14 lines
704 B
ERB

<%= 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]", t("matches.location_label") %>
<%= text_field_tag "match[location]", match.location, placeholder: t("matches.location_placeholder") %>
<%= 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">
<%= t("matches.form_hint") %>
</p>