Initial commit: monorepo Match Live TV.
Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
21
backend/app/views/public/teams/new.html.erb
Normal file
21
backend/app/views/public/teams/new.html.erb
Normal file
@@ -0,0 +1,21 @@
|
||||
<% content_for :title, "Crea squadra — Match Live TV" %>
|
||||
|
||||
<section class="auth-page">
|
||||
<h1>La tua squadra</h1>
|
||||
<p class="auth-lead">Ultimo passo: nome, sport e piano iniziale.</p>
|
||||
<div class="card card-wide">
|
||||
<%= form_with url: public_teams_path do %>
|
||||
<%= label_tag "team[name]", "Nome squadra" %>
|
||||
<%= text_field_tag "team[name]", nil, required: true %>
|
||||
<%= label_tag "team[sport]", "Sport" %>
|
||||
<%= select_tag "team[sport]", options_for_select([["Pallavolo", "volleyball"], ["Calcio", "football"], ["Basket", "basketball"]], "volleyball") %>
|
||||
<%= label_tag :plan, "Piano iniziale" %>
|
||||
<%= select_tag :plan, options_for_select([
|
||||
["Free — 1 staff trasmissione + 1 regia, 1 live", "free"],
|
||||
["Premium Light — €40/anno o €5/mese", "premium_light"],
|
||||
["Premium Full — €200/anno o €20/mese", "premium_full"]
|
||||
], "free") %>
|
||||
<%= submit_tag "Crea squadra", class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user