eBooru/app/views/mascots/_form.html.erb
Earlopain 4a26251e77
[Mascots] Fix handling of app names with spaces in them
Use comma as a separator instead.
Closes #551
2023-10-15 19:14:21 +02:00

12 lines
484 B
Plaintext

<%= custom_form_for(mascot) do |f| %>
<%= error_messages_for "mascot" %>
<%= f.input :mascot_file, as: :file, input_html: { accept: "image/png,image/jpeg,.png,.jpg,.jpeg" } %>
<%= f.input :display_name %>
<%= f.input :background_color %>
<%= f.input :artist_url %>
<%= f.input :artist_name %>
<%= f.input :available_on_string, label: "Available on", hint: "Separated by a comma, don't include spaces before/after" %>
<%= f.input :active %>
<%= f.submit %>
<% end %>