Files
mayan-edms/mayan/apps/appearance/templates/appearance/generic_form.html
2018-08-14 03:32:19 -04:00

26 lines
826 B
HTML

{% extends 'appearance/base.html' %}
{% load common_tags %}
{% block title %}{% include 'appearance/calculate_form_title.html' with non_html_title=True %}{% endblock %}
{% block content %}
{% if form %}
{% with '' as title %}
{% include "appearance/generic_form_subtemplate.html" %}
{% endwith %}
{% endif %}
<div class="row">
{% for subtemplate in subtemplates_list %}
{% if subtemplate.column_class %}
<div class="{{ subtemplate.column_class }}">
{% else %}
<div class="col-xs-12">
{% endif %}
{% render_subtemplate subtemplate.name subtemplate.context as rendered_subtemplate %}
{{ rendered_subtemplate }}
</div>
{% endfor %}
</div>
{% endblock %}