Introduce clubs con abbonamento, branding Active Storage e flusso registrazione società; corregge healthcheck MediaMTX (immagine distroless) e allinea dominio produzione matchlivetv.it. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
886 B
Plaintext
18 lines
886 B
Plaintext
<% content_for :title, "Modifica società — #{@club.name}" %>
|
|
<% content_for :robots, "noindex, nofollow" %>
|
|
|
|
<div class="wrap" style="padding-top:20px;max-width:560px">
|
|
<h1>Modifica società</h1>
|
|
<div class="card">
|
|
<%= form_with url: public_club_path(@club), method: :patch, multipart: true do %>
|
|
<%= label_tag "club[name]", "Nome società" %>
|
|
<%= text_field_tag "club[name]", @club.name, required: true %>
|
|
<%= label_tag "club[sport]", "Sport principale" %>
|
|
<%= select_tag "club[sport]", options_for_select([["Pallavolo", "volleyball"], ["Calcio", "football"], ["Basket", "basketball"]], @club.sport) %>
|
|
<%= render "shared/branding_fields", record: @club, legend: "Logo e colori societari" %>
|
|
<%= submit_tag "Salva", class: "btn btn-primary" %>
|
|
<% end %>
|
|
</div>
|
|
<p><%= link_to "← Società", public_club_path(@club) %></p>
|
|
</div>
|