src/cm/templates/site/layout/base_text_form.html
author raph
Wed, 31 Mar 2010 12:00:27 +0200
changeset 237 48c4d74c5cd9
parent 0 40c8f766c9b8
permissions -rw-r--r--
help update / i18n

{% extends "site/layout/base_text.html" %}
{% load com %}

{% block head %}
{% endblock %}

{% block main %}

{% block pre_form %}
{% endblock %}

<form enctype="multipart/form-data" class="wizard-form" action="." method="post">
<table summary="form" class="wide_form">
    <tbody>
    {% if form %}
        {% include "site/macros/form_fields.html" %}
    {% endif %}

    {% if forms %}
        {% for form in forms %}
            {% include "site/macros/form_fields.html" %}
        {% endfor %}
    {% endif %}
    
    <tr>
        <td style="vertical-align: top; width: 20%; text-align:right;">
        </td>
        <td>
            <label>&nbsp;</label>
            <input name="{% if save_name %}{{ save_name }}{% else %}Save{% endif %}" type="submit" value="{% if save_name %}{{ save_name }}{% else %}Save{% endif %}"/>
            {% block buttons %}
            {% endblock %}            
        </td>
    </tr>
    </tbody>
</table>

</form>

{% block post_form %}
{% endblock %}

{% endblock %}