Ability to delete geozones from admin dashboard

This commit is contained in:
Alberto Miedes Garcés
2016-12-08 13:16:42 +01:00
parent 4a58c786c8
commit 93e79228a7
5 changed files with 95 additions and 0 deletions

View File

@@ -22,6 +22,9 @@
<td>
<%= link_to t("admin.geozones.index.edit"), edit_admin_geozone_path(geozone), class: 'edit-banner button hollow' %>
</td>
<td>
<%= link_to t("admin.geozones.index.delete"), admin_geozone_path(geozone), method: :delete, class: 'button hollow alert' %>
</td>
</tr>
<% end %>
</tbody>