From b128fea6633b15e345580783e2b19bbd56c31e55 Mon Sep 17 00:00:00 2001 From: codevictory Date: Wed, 9 Jun 2021 00:52:57 +0300 Subject: [PATCH] No protocol to performer link text. --- lib/runosaari_web/templates/performer/form.html.eex | 2 +- lib/runosaari_web/templates/performer/show.html.eex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/runosaari_web/templates/performer/form.html.eex b/lib/runosaari_web/templates/performer/form.html.eex index 4b92b6d..9a75f6c 100644 --- a/lib/runosaari_web/templates/performer/form.html.eex +++ b/lib/runosaari_web/templates/performer/form.html.eex @@ -29,7 +29,7 @@ <%= textarea form, :paragraph5 %> <%= error_tag form, :paragraph5 %> - <%= label form, :link, "Linkki esiintyjän sivuille" %> + <%= label form, :link, "Linkki esiintyjän sivuille (muotoa www.sivu.fi tai sivu.fi)" %> <%= textarea form, :link %> <%= error_tag form, :link %> diff --git a/lib/runosaari_web/templates/performer/show.html.eex b/lib/runosaari_web/templates/performer/show.html.eex index bbc5d2a..06a9807 100644 --- a/lib/runosaari_web/templates/performer/show.html.eex +++ b/lib/runosaari_web/templates/performer/show.html.eex @@ -16,7 +16,7 @@

<%= @performer.paragraph5 %>

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