Skip to content
This repository
Browse code

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

…letes all images without getting confirmation
  • Loading branch information...
commit df6513f1d66538b21391dcbaaa3dfea69f548471 1 parent 3c2fc86
Stefan Foulis authored
4 image_filer/templates/image_filer/include/clipboard.html
@@ -28,13 +28,13 @@
28 28 <input type="hidden" name="redirect_to" value="{{ current_url }}" />
29 29 {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
30 30 <input type="submit" value="discard" />
31   - </form>
  31 + </form>{% comment %}
32 32 <form action="{% url admin:image_filer-delete_clipboard %}" method="post" style="display: inline;">
33 33 <input type="hidden" name="clipboard_id" value="{{ clipboard.id }}" />
34 34 <input type="hidden" name="redirect_to" value="{{ current_url }}" />
35 35 {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
36 36 <input type="submit" value="delete files" />
37   - </form>
  37 + </form>{% endcomment %}
38 38 </td>
39 39 </tr>
40 40 </tfoot>

0 comments on commit df6513f

Please sign in to comment.
Something went wrong with that request. Please try again.