src/cm/templates/site/layout/base_text_form.html
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 {% extends "site/layout/base_text.html" %}
       
     2 {% load com %}
       
     3 
       
     4 {% block head %}
       
     5 {% endblock %}
       
     6 
       
     7 {% block main %}
       
     8 
       
     9 {% block pre_form %}
       
    10 {% endblock %}
       
    11 
       
    12 <form enctype="multipart/form-data" class="wizard-form" action="." method="post">
       
    13 <table summary="form" class="wide_form">
       
    14     <tbody>
       
    15     {% if form %}
       
    16         {% include "site/macros/form_fields.html" %}
       
    17     {% endif %}
       
    18 
       
    19     {% if forms %}
       
    20         {% for form in forms %}
       
    21             {% include "site/macros/form_fields.html" %}
       
    22         {% endfor %}
       
    23     {% endif %}
       
    24     
       
    25     <tr>
       
    26         <td style="vertical-align: top; width: 20%; text-align:right;">
       
    27         </td>
       
    28         <td>
       
    29             <label>&nbsp;</label>
       
    30             <input name="{% if save_name %}{{ save_name }}{% else %}Save{% endif %}" type="submit" value="{% if save_name %}{{ save_name }}{% else %}Save{% endif %}"/>
       
    31             {% block buttons %}
       
    32             {% endblock %}            
       
    33         </td>
       
    34     </tr>
       
    35     </tbody>
       
    36 </table>
       
    37 
       
    38 </form>
       
    39 
       
    40 {% block post_form %}
       
    41 {% endblock %}
       
    42 
       
    43 {% endblock %}