From 735e98f327b5905cadcd283bb6c4d0af25a223bc Mon Sep 17 00:00:00 2001
From: vijeth-aradhya <vijthaaa@gmail.com>
Date: Fri, 20 Jan 2017 12:31:12 +0530
Subject: [PATCH] user_pages: Remove checkbox prompt while deletion
The usage of a checkbox prompt while deleting media
or collection with the dialogue is not necessary.
Fixes #986
---
.../templates/mediagoblin/user_pages/collection_confirm_delete.html | 5 -----
.../templates/mediagoblin/user_pages/media_confirm_delete.html | 5 -----
2 files changed, 10 deletions(-)
diff --git a/mediagoblin/templates/mediagoblin/user_pages/collection_confirm_delete.html b/mediagoblin/templates/mediagoblin/user_pages/collection_confirm_delete.html
index 0827834..5ded731 100644
a
|
b
|
|
42 | 42 | |
43 | 43 | <br /> |
44 | 44 | |
45 | | <p class="delete_checkbox_box"> |
46 | | {{ form.confirm }} |
47 | | {{ wtforms_util.render_label(form.confirm) }} |
48 | | </p> |
49 | | |
50 | 45 | <div class="form_submit_buttons"> |
51 | 46 | {# TODO: This isn't a button really... might do unexpected things :) #} |
52 | 47 | <a class="button_action" href=" |
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html b/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
index 243edff..1361011 100644
a
|
b
|
|
38 | 38 | |
39 | 39 | <br /> |
40 | 40 | |
41 | | <p class="delete_checkbox_box"> |
42 | | {{ form.confirm }} |
43 | | {{ wtforms_util.render_label(form.confirm) }} |
44 | | </p> |
45 | | |
46 | 41 | <div class="form_submit_buttons"> |
47 | 42 | {# TODO: This isn't a button really... might do unexpected things :) #} |
48 | 43 | <a class="button_action" href="{{ media.url_for_self(request.urlgen) }}">{% trans %}Cancel{% endtrans %}</a> |