{% extends "base.html" %} {% block content %}
{{ additional_buttons|safe }}
{% if status_buttons %}
{% csrf_token %}
{% for button in status_buttons %} {% endfor %}
{% endif %}
{% for field in fields %}

{{ field.1|safe }}

{% endfor %}
{% if additional_tabs %} {% for tab in additional_tabs %}
{% include tab.1 %}
{% endfor %} {% else %}
-
{% endif %}
{% endblock %} {% block scriptsready %} $( "form label" ).addClass(function( index ) { return "col-sm-2 control-label"; }); $( "form input" ).addClass(function( index ) { return "form-control"; }); $( "form select" ).addClass(function( index ) { return "form-control selectpicker"; }); $('.has-popover').popover({'trigger':'hover'}); {% endblock %} {% block scripts %} {% endblock %}