Mercurial > agora-palash
view templates/bundle/form.djhtml @ 195:baf8776dc44d
added code for the integration of comment system into bundles and snippets.
database sync must be run so that necessary tables is created for the comments to work properly.
author | ahsanalishahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Tue, 02 Jul 2013 02:09:21 +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>