diff --git a/app/views/maps/index.html.erb b/app/views/maps/index.html.erb index 86f0e32..9bdc76d 100755 --- a/app/views/maps/index.html.erb +++ b/app/views/maps/index.html.erb @@ -3,7 +3,8 @@
Current Maps: <% Map.all.each do |map| %> -
- <%= map[:package] %> <%= map[:build] %> <%= link_to "Delete", "maps/delete/#{map[:map]}" %> +
+ <%= map[:package] %> <%= map[:build] %> <%= button_to "Delete", "delete/#{map[:map]}", :confirm => "Are you sure?" %> +
<% end %>