docbrown/app/views/listings/delete_confirm.html.erb
Michael Kohl 7f75f99560
[deploy] Rename classified listings (#7910)
* 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
2020-05-27 13:35:09 +00:00

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>