{% load i18n %} {% load staticfiles %} {% load codenerix_lists %} {% load codenerix_common %} {% comment %} django-codenerix Copyright 2017 Centrologic Computational Logistic Center S.L. Project URL : http://www.codenerix.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. {% endcomment %} {{html_head}} {% block angular_app_libraries %} {% endblock %} {% block ini_modal %}{% endblock %} {% with langcode=LANGUAGE_CODE|default:"en" %} {# if there is an existing title for the form, it is shown #}

{{object}}

{# BUTTONS at the top #}
{% if linkedit %} {% if not cannot_update %} {% endif %} {% endif %} {% block extra_btn_up %} {% endblock %} {% if linkback %} {% endif %} {% if linkdelete %} {% if cannot_delete %} {% else %} {% endif %} {% endif %}
{% block details %} {% for item in object_detail %} {% if item.value.0.name %} {# if the current item have several elements in value it is a group #}
{{item.name}}
{% for subitem in item.value %} {% if subitem.value.0.name %}
{{subitem.name}}
{% for subsubitem in subitem.value %} {{subsubitem.value|nicenull|TrueFalse|codenerix:subitem.filter|safe}}
{% endfor %}
{% else %} {{subitem.value|nicenull|TrueFalse|codenerix:subitem.filter|safe}}
{% endif %} {% endfor %}
{% else %}
{{item.value|nicenull|TrueFalse|safe}}
{% endif %} {% endfor %} {% endblock %} {# BUTTONS at the bottom #}
{% block buttons_bottom %} {% if linkedit %} {% if not cannot_update %} {% endif %} {% endif %} {% block extra_btn_down %} {% endblock %} {% if linkback %} {% endif %} {% if linkdelete %} {% if cannot_delete %} {% else %} {% endif %} {% endif %} {% endblock %}
{% endwith %} {% block body %} {% if tabs_autorender %}
{% endif %} {% endblock %} {% block end_modal %}{% endblock %}