We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab97e7 commit 6d08285Copy full SHA for 6d08285
app/views/content/form/_actions_dropdown.html.erb
@@ -5,15 +5,16 @@
5
<% end %>
6
7
<ul id='options-menu' class='dropdown-content'>
8
- <%# TODO: something with these %>
+ <!-- Broken on content edit pages
9
<li><a href="#!" class="share">Share this <%= content.class.to_s.downcase %></a></li>
10
<li class="divider"></li>
11
+ -->
12
<% if content.persisted? %>
13
<li>
14
<%= link_to "Delete this #{content.class.to_s.downcase} forever", content,
15
:class => 'red-text',
16
:method => :delete,
- :confirm => 'Are you sure? This action cannot be undone!' %>
17
+ :data => { :confirm => 'Are you sure? This action cannot be undone!' } %>
18
</li>
19
20
</ul>
0 commit comments