Skip to content

Commit

Permalink
hide "delete" button on clipboard, because it is nasty and cascade de…
Browse files Browse the repository at this point in the history
…letes all images without getting confirmation
  • Loading branch information
stefanfoulis committed Dec 22, 2009
1 parent 3c2fc86 commit df6513f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image_filer/templates/image_filer/include/clipboard.html
Expand Up @@ -28,13 +28,13 @@
<input type="hidden" name="redirect_to" value="{{ current_url }}" />
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
<input type="submit" value="discard" />
</form>
</form>{% comment %}
<form action="{% url admin:image_filer-delete_clipboard %}" method="post" style="display: inline;">
<input type="hidden" name="clipboard_id" value="{{ clipboard.id }}" />
<input type="hidden" name="redirect_to" value="{{ current_url }}" />
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
<input type="submit" value="delete files" />
</form>
</form>{% endcomment %}
</td>
</tr>
</tfoot>
Expand Down

0 comments on commit df6513f

Please sign in to comment.