diff --git a/lib/runosaari_web/templates/performer/form.html.eex b/lib/runosaari_web/templates/performer/form.html.eex index b735918..240758e 100644 --- a/lib/runosaari_web/templates/performer/form.html.eex +++ b/lib/runosaari_web/templates/performer/form.html.eex @@ -1,4 +1,4 @@ -<%= form_for @changeset, @action, fn form -> %> +<%= form_for @changeset, @action, [multipart: true], fn form -> %> <%= if @changeset.action do %>

Jokin kentistä on tyhjä.

@@ -17,6 +17,10 @@ <%= textarea form, :seqnum %> <%= error_tag form, :seqnum %> + <%= label form, :photo_path, "Esiintyjän kuva" %> + <%= file_input form, :photo_path %> + <%= error_tag form, :photo_path %> +
<%= checkbox form, :confirmed %> <%= label form, :confirmed, "Vahvistettu" %>