Performers index and detailed info page.

This commit is contained in:
codevictory
2021-06-02 00:43:32 +03:00
parent 526beedbe9
commit c8bf8efced
8 changed files with 57 additions and 39 deletions

View File

@@ -17,7 +17,7 @@
<td><%= performer.seqnum %></td>
<td class="actions">
<span><%= link "Lisätietoja", to: Routes.admin_performer_path(@conn, :show, performer) %></span>
<span><%= link "Esiintyjäsivu", to: Routes.performer_path(@conn, :show, performer) %></span>
<span><%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, performer) %></span>
<span><%= link "Poista", to: Routes.admin_performer_path(@conn, :delete, performer), method: :delete, data: [confirm: "Haluatko poistaa esiintyjän #{performer.name}?"] %></span>
</td>