diff MoinMoin/templates/modify.html @ 2910:86df79fae350 fix-205

Add download link to modify view (fixes #205)
author Aviral Dasgupta <me@aviraldg.com>
date Mon, 16 Mar 2015 17:00:30 +0530
parents cfdec0c11e3d
children 72c5a7d688b5
line wrap: on
line diff
--- a/MoinMoin/templates/modify.html	Fri Feb 13 21:14:01 2015 +0100
+++ b/MoinMoin/templates/modify.html	Mon Mar 16 17:00:30 2015 +0530
@@ -31,6 +31,9 @@
 {% block content %}
     <h1>{{ title }}</h1>
     <div id="moin-modify" class="moin-form">
+        <a class="btn btn-success" style="float: right" href="{{ url_for('.download_item', item_name=item_name, mimetype='application/x.moin.download') }}">
+        <span class="fa fa-download"></span> {{ _('Download') }}
+        </a>
         {{ gen.form.open(form, method='post', enctype='multipart/form-data') }}
             {{ forms.render_errors(form) }}
             {#