view templates/bundle/form.djhtml @ 184:b711f0087709

Use DESCRIPTION file for bundles (SCHEMA CHANGE) * Added two new fields to the Bundle model: * octave_format, which allows users to specify if their bundle has been formatted according to octave packaging standards or not * description_file, which points to a file named DESCRIPTION in the root directory (or the next top-level directory), if the octave_format checkbox is ticked and if one exists * Fixed the uploader field for form by making it a hidden input and preventing hidden inputs from showing up entirely
author dellsystem <ilostwaldo@gmail.com>
date Sat, 27 Oct 2012 15:58:08 -0400
parents 4a63f5d762a3
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>