Admin pages.
This commit is contained in:
@@ -20,15 +20,9 @@
|
||||
<td><%= location.reserved_seats %></td>
|
||||
<td><%= location.max_seats %></td>
|
||||
<td><%= location.description %></td>
|
||||
|
||||
<td>
|
||||
<span><%= link "Show", to: Routes.location_path(@conn, :show, location) %></span>
|
||||
<span><%= link "Edit", to: Routes.admin_location_path(@conn, :edit, location) %></span>
|
||||
<span><%= link "Delete", to: Routes.admin_location_path(@conn, :delete, location), method: :delete, data: [confirm: "Are you sure?"] %></span>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<span><%= link "New Location", to: Routes.admin_location_path(@conn, :new) %></span>
|
||||
<span><%= link "Hallinta", to: Routes.admin_location_path(@conn, :admin) %></span>
|
||||
|
||||
Reference in New Issue
Block a user