Permette upload da portale e app con ereditarietà partita→squadra→società, generazione MP4 via ffmpeg e distribuzione su home lab e nodi CPX per pause e assenza segnale. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
1.0 KiB
ERB
22 lines
1.0 KiB
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/cover_fields",
|
|
record: @club,
|
|
can_upload: @entitlements&.can_use_custom_cover? %>
|
|
<%= 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>
|