diff --git a/lib/runosaari_web/templates/index/edit.html.eex b/lib/runosaari_web/templates/index/edit.html.eex index f9be3ae..8463c1d 100644 --- a/lib/runosaari_web/templates/index/edit.html.eex +++ b/lib/runosaari_web/templates/index/edit.html.eex @@ -2,4 +2,4 @@ <%= render "form.html", Map.put(assigns, :action, Routes.admin_index_path(@conn, :update, @index)) %> -<%= link "Takaisin", to: Routes.index_path(@conn, :index) %> +<%= link "Takaisin", to: Routes.admin_index_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/index/new.html.eex b/lib/runosaari_web/templates/index/new.html.eex index 08295a8..331c962 100644 --- a/lib/runosaari_web/templates/index/new.html.eex +++ b/lib/runosaari_web/templates/index/new.html.eex @@ -3,5 +3,5 @@ <%= render "form.html", Map.put(assigns, :action, Routes.admin_index_path(@conn, :create)) %> - <%= link "Takaisin", to: Routes.index_path(@conn, :index) %> + <%= link "Takaisin", to: Routes.admin_index_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/index/show.html.eex b/lib/runosaari_web/templates/index/show.html.eex index 8678749..4b88ba1 100644 --- a/lib/runosaari_web/templates/index/show.html.eex +++ b/lib/runosaari_web/templates/index/show.html.eex @@ -16,5 +16,5 @@ <%= link "Muokkaa", to: Routes.admin_index_path(@conn, :edit, @index) %> - <%= link "Takaisin", to: Routes.index_path(@conn, :index) %> + <%= link "Takaisin", to: Routes.admin_index_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/performance/edit.html.eex b/lib/runosaari_web/templates/performance/edit.html.eex index 7eb54ef..de5d1ce 100644 --- a/lib/runosaari_web/templates/performance/edit.html.eex +++ b/lib/runosaari_web/templates/performance/edit.html.eex @@ -2,4 +2,4 @@ <%= render "form.html", Map.put(assigns, :action, Routes.admin_performance_path(@conn, :update, @performance)) %> -<%= link "Takaisin", to: Routes.performance_path(@conn, :index) %> +<%= link "Takaisin", to: Routes.admin_performance_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/performance/new.html.eex b/lib/runosaari_web/templates/performance/new.html.eex index bc764a3..8c0edfd 100644 --- a/lib/runosaari_web/templates/performance/new.html.eex +++ b/lib/runosaari_web/templates/performance/new.html.eex @@ -1,5 +1,7 @@ -

Luo näytös

+
+

Luo näytös

-<%= render "form.html", Map.put(assigns, :action, Routes.admin_performance_path(@conn, :create)) %> + <%= render "form.html", Map.put(assigns, :action, Routes.admin_performance_path(@conn, :create)) %> -<%= link "Takaisin", to: Routes.performance_path(@conn, :index) %> + <%= link "Takaisin", to: Routes.admin_performance_path(@conn, :admin) %> +
diff --git a/lib/runosaari_web/templates/performance/show.html.eex b/lib/runosaari_web/templates/performance/show.html.eex index edcfad8..adcd38f 100644 --- a/lib/runosaari_web/templates/performance/show.html.eex +++ b/lib/runosaari_web/templates/performance/show.html.eex @@ -16,5 +16,5 @@ <%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, @performance) %> - <%= link "Takaisin", to: Routes.performance_path(@conn, :index) %> + <%= link "Takaisin", to: Routes.admin_performance_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/performer/edit.html.eex b/lib/runosaari_web/templates/performer/edit.html.eex index 96b405a..dc534ce 100644 --- a/lib/runosaari_web/templates/performer/edit.html.eex +++ b/lib/runosaari_web/templates/performer/edit.html.eex @@ -2,4 +2,4 @@ <%= render "form.html", Map.put(assigns, :action, Routes.admin_performer_path(@conn, :update, @performer)) %> -<%= link "Takaisin", to: Routes.performer_path(@conn, :index) %> +<%= link "Takaisin", to: Routes.admin_performer_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/performer/new.html.eex b/lib/runosaari_web/templates/performer/new.html.eex index 424c19f..09939e7 100644 --- a/lib/runosaari_web/templates/performer/new.html.eex +++ b/lib/runosaari_web/templates/performer/new.html.eex @@ -2,4 +2,6 @@

Luo esiintyjä

<%= render "form.html", Map.put(assigns, :action, Routes.admin_performer_path(@conn, :create)) %> + + <%= link "Takaisin", to: Routes.admin_performer_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/performer/show.html.eex b/lib/runosaari_web/templates/performer/show.html.eex index 7723f4a..b6235d5 100644 --- a/lib/runosaari_web/templates/performer/show.html.eex +++ b/lib/runosaari_web/templates/performer/show.html.eex @@ -26,5 +26,5 @@ <%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, @performer) %> - <%= link "Takaisin", to: Routes.performer_path(@conn, :index) %> + <%= link "Takaisin", to: Routes.admin_performer_path(@conn, :admin) %>