diff --git a/lib/runosaari_web/templates/performance/form.html.eex b/lib/runosaari_web/templates/performance/form.html.eex index 552fc36..caedf54 100644 --- a/lib/runosaari_web/templates/performance/form.html.eex +++ b/lib/runosaari_web/templates/performance/form.html.eex @@ -46,7 +46,7 @@ <%= error_tag form, :paragraph9 %> <%= label form, :seqnum, "Prioriteetti (1 on korkein)" %> - <%= textarea form, :seqnum %> + <%= number_input form, :seqnum %> <%= error_tag form, :seqnum %>
diff --git a/lib/runosaari_web/templates/performer/form.html.eex b/lib/runosaari_web/templates/performer/form.html.eex index 9a75f6c..60b9756 100644 --- a/lib/runosaari_web/templates/performer/form.html.eex +++ b/lib/runosaari_web/templates/performer/form.html.eex @@ -43,6 +43,10 @@ <%= error_tag form, :confirmed %>
+ <%= label form, :seqnum, "Arkistoitu (vuosi). Jätä tyhjäksi jos tulee näkyä Esiintyjät-sivulla." %> + <%= number_input form, :seqnum %> + <%= error_tag form, :seqnum %> +
<%= submit "Tallenna" %>
diff --git a/lib/runosaari_web/views/archive_view.ex b/lib/runosaari_web/views/archive_view.ex new file mode 100644 index 0000000..7b73a13 --- /dev/null +++ b/lib/runosaari_web/views/archive_view.ex @@ -0,0 +1,3 @@ +defmodule RunosaariWeb.ArchiveView do + use RunosaariWeb, :view +end