{#
# GNU MediaGoblin -- federated, autonomous media hosting
-# Copyright (C) 2011 Free Software Foundation, Inc
+# Copyright (C) 2011 MediaGoblin contributors. See AUTHORS.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
Really delete {{ title }}?
{%- endtrans %}
</h1>
- <p>
- <em>
- {%- trans -%}
- If you choose yes, the media entry will be deleted <strong>permanently.</strong>
- {%- endtrans %}
- </em>
- </p>
- {{ wtforms_util.render_divs(form) }}
+ <div style="text-align: center;" >
+ <img src="{{ request.app.public_store.file_url(
+ media['media_files']['thumb']) }}" />
+ </div>
+
+ <br />
+
+ <p class="delete_checkbox_box">
+ {{ form.confirm }}
+ <label for="{{ (form.confirm.name) }}">{{ _(form.confirm.label.text) }}</label>
+ </p>
+
<div class="form_submit_buttons">
- <input type="submit" value="{% trans %}Save changes{% endtrans %}" class="button" />
+ {# TODO: This isn't a button really... might do unexpected things :) #}
+ <a class="cancel_link" href="{{ media.url_for_self(request.urlgen) }}">{% trans %}Cancel{% endtrans %}</a>
+ <input type="submit" value="{% trans %}Delete Permanently{% endtrans %}" class="button_form" />
+ {{ csrf_token }}
</div>
</div>
</form>