Commit dab58dbf authored by Galen Evilla's avatar Galen Evilla

last tweak?

parent 16a41cf8
......@@ -21,7 +21,7 @@
<%=link_to "Edit", edit_admin_candidate_path(@candidate.id)%>
</div>
<div class="btn btn-info" role ="button">
<%=link_to "Delete", admin_candidate_path(@candidate.id), method: :delete%>
<%=link_to "Delete", admin_candidate_path(@candidate.id), method: :delete, data: {confirm: 'Are you sure?'}%>
</div>
<h2><%= @candidate.position.name %></h2>
......
......@@ -21,7 +21,7 @@
<%=link_to "Edit", edit_admin_position_path(@position.id)%>
</div>
<div class="btn btn-info" role ="button">
<%=link_to "Delete", admin_position_path(@position.id), method: :delete%>
<%=link_to "Delete", admin_position_path(@position.id), method: :delete, data: {confirm: 'Are you sure?'}%>
</div>
<hr>
<h2>Candidates for <%=@position.name%></h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment