{% load i18n staticfiles %}{% load crispy_forms_tags %}{% load common_forms_tags %} {% get_current_language as LANGUAGE_CODE %} FTL Informática - {% block title_html %}Início{% endblock %} {# Bootstrap 3.3.7 #} {% block extrastyle %}{% endblock %} {# Deve ser a última a carregar pois altera css anterior #} {% block extrahead %}{% endblock %} {% block blockbots %}{% endblock %}
{% if not is_popup %} {% comment Analisar como usar mais tarde %} {% if user.is_active %} {% block breadcrumbs %} {% endblock %} {% endif %} {% endcomment %} {% endif %}
{% block pretitle %}{% endblock %} {% block content_h1 %}{% if h1 %}

{{ h1 }}

{% endif %}{% endblock %} {% if not user.is_active %} {% block login %}
{% csrf_token %} {% if request.GET.next %} {% else %} {% if next %} {% endif %} {% endif %}
FTL Informática
{% endblock %} {% endif %} {% block content %} {% block object-tools %}{% endblock %} {{ content }} {% endblock %} {% block sidebar %}{% endblock %}
{% block footer %}{% endblock %} {% block messages %} {% if messages %}
{% for message in messages %}
{% endfor %}
{% endif %} {% endblock messages %} {% comment "Teoricamente os campos com erros são mostrados no form master, mas não no formset detail " %} {% endcomment %}
{% with form|nice_errors as qq %} {% for error_name,desc in qq.items %}
 
{% endfor %} {% endwith %} {% for f,msg in form.non_field_errors.items %} {% if f %}
 
{% endif %} {% endfor %}
{% with formset|nice_errors as qq %} {% for error_name,desc in qq.items %}
 
{% endfor %} {% endwith %} {% for f,msg in formset.non_field_errors.items %} {% if f %}
 
{% endif %} {% endfor %}