%= form_for @changeset, @action, fn f -> %>
<%= if @changeset.action do %>
Oops, something went wrong! Please check the errors below.
<% end %>
The short name of
https://picarto.tv/
picarto_channel_name
is picarto_channel_name
.
The short name of
https://piczel.tv/watch/
piczel_channel_name
is piczel_channel_name
.
<%= label(f, :short_name, "Short name") %>
<%= text_input(f, :short_name, class: "input", placeholder: "Short name", required: true) %>
<%= label(f, :type, "Type") %>
<%= select(f, :type, ["PicartoChannel", "PiczelChannel"], class: "input") %>
<%= label(f, :artist_tag, "Artist tag") %>
<%= text_input(f, :artist_tag, class: "input", placeholder: "Artist tag") %>
<%= submit("Save", class: "button") %>
<% end %>