{% extends "Includes/layout_ats.html.twig" %} {% block title %}Daf ATS{% endblock %} {% block pageheader %}Daf ATS{% endblock %} {% block body %} {% set breadcrumb_nav = "home" %}
{{ include('Includes/aside_ats.html.twig') }}

{{ 'Forms List'|trans }}

{# START SIMPLE DATA TABLES FOR FORMS #}
forms
{{ 'Total forms'|trans }} {{ dafInstances | length }}
{{ 'Form'|trans }}
{{ 'Status'|trans }}
{{ 'Applies'|trans }}
{% set counter = dafInstances|length %} {% if counter == 0 %}
{{ 'There is no form'|trans }}
{% else %}
{% for dafInstance in dafInstances %} {% set counter = counter + 1 %}
{{ (dafInstance.active == 1) ? 'active' : 'inactive' }}
{{ dafInstance.nb }} applies {% if dafInstance.nbNew > 0 %}{{ dafInstance.nbNew }} unread{% endif %}
{% endfor %}
{% endif %} {#
#} {#
#} {#
#} {#
#} {# {% set instanceId = <% instance.idDafInstance %> %}#} {# <% instance.name %>#} {#
#} {#
#} {# #} {# <% (instance.active == 1) ? 'active' : 'inactive' %>#} {# #} {#
#} {#
#} {# #} {#
#} {#
#} {# #} {# #} {#
#} {#
#}
{# END SIMPLE DATA TABLES FOR FORMS #}
{% endblock %}