Mercurial > odfcast
view 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 |
line wrap: on
line source
{% extends 'base.html' %} {% block content %} <h1>Template Convert</h1> <form role="form" action="" method="POST" enctype="multipart/form-data"> <div class="form-group"> <label for="format">Format</label> <input id="format" type="text" placeholder="Format" name="format" class="form-control"> </div> <div class="form-group"> <label for="datadict">Data in JSON Format</label> <textarea id="datadict" name="datadict" class="form-control"></textarea> </div> <div class="form-group"> <label for="file" >File</label> <input id="file" type="file" name="file"> </div> <button class="btn btn-default" type="submit">Convert</button> </form> {% endblock %}