Mercurial > odfcast
view templates/convert.html @ 22:0e40926735e1
Add a generic View to display a template for a get request
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 16:07:25 +0200 |
parents | 75d5d18e7d52 |
children | 9d65de2ebe22 |
line wrap: on
line source
{% extends 'base.html' %} {% block content %} <h1>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="file" >File</label> <input id="file" type="file" name="file"> </div> <button class="btn btn-default" type="submit">Convert</button> </form> {% endblock %}