* Change models and related files * Update controllers and specs * More renaming * Seek and destroy, I mean search and replace * Round up the stragglers * Ground control to Major Travis... * More fixes * PR feedback * Various fixes * Rename view * Fix list query builder * Unify request specs * Fix some API spec errors * Fix remaining API specs * Make spec conform to API * Fix leftover problems * Fix JS tests * Fix column name in select * Fix API specs * Fix search specs * Paging Mr. Travis
18 lines
515 B
Text
18 lines
515 B
Text
<%= javascript_include_tag "application" %>
|
|
|
|
<div class="container delete-confirm">
|
|
<h4><%= @listing.title %></h4>
|
|
<h1>Are you sure you want to delete this listing?</h1>
|
|
|
|
<h2>
|
|
You cannot undo this action, perhaps you just want to
|
|
<a data-no-instant href="/listings/<%= @listing.id %>/edit">
|
|
<%= @listing.published ? "unpublish" : "edit" %>
|
|
</a>
|
|
instead?
|
|
</h2>
|
|
|
|
<%= form_tag "/listings/#{@listing.id}", method: :delete do %>
|
|
<button class="cta">DELETE</button>
|
|
<% end %>
|
|
</div>
|