{% extends 'tekir_base.html' %} {% block body %}

{{ _('You are here:') }}

{{ record.title }}

{{ _('Edit') }}

{{ _('Subpages') }}

{% if record.children %}
{% for item in record.children %} {% endfor %}
{{ _('Select') }} {{ _('ID') }} {{ _('Type') }}
{{ item._slug }} {{ item.datamodel.name_i18n.get(g.lang_code, item.datamodel.name) }}
{% else %}

{{ _('No subpages.') }}

{% endif %}

{{ _('Attachments') }}

{% if record.attachments %}
{% for item in record.attachments %} {% endfor %}
{{ _('Select') }} {{ _('File name') }}
{{ record.url_to(item) }}
{% else %}

{{ _('No attachments.') }}

{% endif %}

{{ _('This operation will delete the following content items:') }}

    {{ _('Do you want to continue?') }}

    {% set content_models = record.pad.db.datamodels %} {% set child_model = record.datamodel.child_config.model %} {% if child_model %} {{ content_models[child_model].name_i18n.get(g.lang_code) or content_models[child_model].name }} {% else %} {% endif %}
    {% endblock %}