{% load i18n %} {% load codenerix_lists %} {% load codenerix_common %} {% comment %} django-codenerix Codenerix GNU 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 #}
---------- {% block extra_btn_up %} {% endblock %} {% if linkback %} {% 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|safe}}
{% endfor %}
{% else %} {{subitem.value|nicenull|TrueFalse|safe}}
{% endif %} {% endfor %}
{% else %} {{item.value|nicenull|TrueFalse|safe}}
{% endif %} {% endfor %} {% endblock %} {# BUTTONS at the bottom #}
{% block buttons_bottom %} {% block extra_btn_down %} {% endblock %} {% if linkback %} {% endif %} {% endblock %}
{% endwith %} {% block end_modal %}{% endblock %}