annotate templates/template_convert.html @ 28:1dd40e13da74

Set textarea name attribute for datadict upload
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 30 Sep 2014 16:38:08 +0200
parents 585904e7411a
children
rev   line source
18
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
1 {% extends 'base.html' %}
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
2
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
3 {% block content %}
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
4 <h1>Template Convert</h1>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
5
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
6 <form role="form" action="" method="POST" enctype="multipart/form-data">
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
7 <div class="form-group">
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
8 <label for="format">Format</label>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
9 <input id="format" type="text" placeholder="Format" name="format" class="form-control">
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
10 </div>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
11 <div class="form-group">
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
12 <label for="datadict">Data in JSON Format</label>
28
1dd40e13da74 Set textarea name attribute for datadict upload
Björn Ricks <bjoern.ricks@intevation.de>
parents: 18
diff changeset
13 <textarea id="datadict" name="datadict" class="form-control"></textarea>
18
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
14 </div>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
15 <div class="form-group">
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
16 <label for="file" >File</label>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
17 <input id="file" type="file" name="file">
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
18 </div>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
19 <button class="btn btn-default" type="submit">Convert</button>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
20 </form>
585904e7411a Add html for converting a odf with a template
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
21 {% endblock %}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)