* Initial work for streaming app shell way of using serviceworkers * Close in on serviceworker adjustment finalization * Add docs and loading indicator * Remove useless code * Don't run on API * Update app/javascript/contentDisplayPolicy/hideBlockedContent.js * Fix small details * Don't run serviceworker.js code in test env * Fix JS in serviceworker * Move private keyword to proper place in async controller * Change shell_version to HEROKU_SLUG_COMMIT * Update caching config * Add test for async_info/shell_version
15 lines
461 B
Text
15 lines
461 B
Text
<div class="container delete-confirm">
|
|
<h4><%= @article.title %></h4>
|
|
<h1>Are you sure you want to delete this article?</h1>
|
|
|
|
<h2>
|
|
You cannot undo this action, perhaps you just want to
|
|
<a data-no-instant href="<%= @article.path %>/edit">
|
|
<%= @article.published ? "unpublish" : "edit" %>
|
|
</a>
|
|
instead?
|
|
</h2>
|
|
<%= form_tag "/articles/#{@article.id}", method: :delete do %>
|
|
<button class="cta">DELETE</button>
|
|
<% end %>
|
|
</div>
|