Translations.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<h1>Ohjelma - HALLINTA</h1>
|
||||
<h1>HALLINTA</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@@ -10,19 +10,19 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<%= for performance <- @performances do %>
|
||||
<%= for performance <- @performances do %>
|
||||
<tr>
|
||||
<td><%= performance.name %></td>
|
||||
<td><%= performance.desc %></td>
|
||||
|
||||
<td>
|
||||
<span><%= link "Show", to: Routes.performance_path(@conn, :show, performance) %></span>
|
||||
<span><%= link "Edit", to: Routes.admin_performance_path(@conn, :edit, performance) %></span>
|
||||
<span><%= link "Delete", to: Routes.admin_performance_path(@conn, :delete, performance), method: :delete, data: [confirm: "Are you sure?"] %></span>
|
||||
<span><%= link "Lisätietoja", to: Routes.performance_path(@conn, :show, performance) %></span>
|
||||
<span><%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, performance) %></span>
|
||||
<span><%= link "Poista", to: Routes.admin_performance_path(@conn, :delete, performance), method: :delete, data: [confirm: "Haluatko poistaa näytöksen #{performance.name}?"] %></span>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<span><%= link "New Performance", to: Routes.admin_performance_path(@conn, :new) %></span>
|
||||
<span><%= link "Uusi näytös", to: Routes.admin_performance_path(@conn, :new) %></span>
|
||||
|
||||
Reference in New Issue
Block a user