diff --git a/lib/runosaari_web/templates/performer/form.html.eex b/lib/runosaari_web/templates/performer/form.html.eex index 60b9756..8b4a50f 100644 --- a/lib/runosaari_web/templates/performer/form.html.eex +++ b/lib/runosaari_web/templates/performer/form.html.eex @@ -43,9 +43,9 @@ <%= 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 %> + <%= label form, :archived, "Arkistoitu (vuosi). Jätä tyhjäksi, jos tulee näkyä Esiintyjät-sivulla." %> + <%= number_input form, :archived %> + <%= error_tag form, :archived %>
<%= submit "Tallenna" %> diff --git a/lib/runosaari_web/templates/performer/show.html.eex b/lib/runosaari_web/templates/performer/show.html.eex index 06a9807..e5b549b 100644 --- a/lib/runosaari_web/templates/performer/show.html.eex +++ b/lib/runosaari_web/templates/performer/show.html.eex @@ -18,6 +18,9 @@ <%= if @performer.link != nil do %> <%= @performer.link %> <% end %> + <%= if @performer.archived != nil do %> +

<%= @performer.archived %>

+ <% end %> Esiintyjän kuva <%= link "Takaisin esiintyjälistalle", to: Routes.performer_path(@conn, :index) %>