view templates/bundle/form.djhtml @ 209:4033ebe1867f

Add ability to download files This makes use of a new model (BundleVersion) to keep track of the locations on disk of the original uploads for each version. This will require some manual processing to get it working for existing bundles, since the information needed isn't being stored at the moment.
author dellsystem <ilostwaldo@gmail.com>
date Sun, 17 Feb 2013 14:57:39 -0500
parents b711f0087709
children
line wrap: on
line source

{% load i18n %}

<form method="post" action="" class="snippetform"
    enctype="multipart/form-data">
    {% if form.non_field_errors %}
    <div class="errors">
        {{ form.non_field_errors }}
    </div>
    {% endif %}

    {% csrf_token %}

    {% for field in form %}
    {% if not field.is_hidden %}
    {% include "simple_field.djhtml" %}
    {% endif %}
    {% endfor %}

    <br />
    <div class="center-align">
        <button type="submit" class="button large">{% trans "Save bundle" %}</button>
    </div>
</form>