Permalink
Browse files

hide "delete" button on clipboard, because it is nasty and cascade de…

…letes all images without getting confirmation
  • Loading branch information...
1 parent 3c2fc86 commit df6513f1d66538b21391dcbaaa3dfea69f548471 @stefanfoulis committed Dec 22, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 image_filer/templates/image_filer/include/clipboard.html
View
4 image_filer/templates/image_filer/include/clipboard.html
@@ -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>

0 comments on commit df6513f

Please sign in to comment.