{# empty Twig template #} {% macro show(label, value, type , id) %}
{% if type|default('text') == 'text' %} {% endif %} {% if type|default('text') == 'textarea' %} {% endif %}
{##} {% endmacro %} {% macro inputText(label, name, id, value, habilitado, defaultValue) %}
{% if habilitado %} {% if value is empty %} {% set value = defaultValue %} {% endif %} {% endif %}
{% endmacro %} {% macro inputDate(label, name, id, value, habilitado, defaultValue) %}
{% if value is empty %} {% set value = defaultValue %} {% endif %}
{% endmacro %} {% macro inputInteger(label, name, id, value, habilitado, defaultValue, class) %}
{% if habilitado %} {% if value is empty %} {% set value = defaultValue %} {% endif %} {% endif %}
{% endmacro %} {% macro inputDecimal(label, name, id, value, habilitado, defaultValue, class, txtsOpcoes) %} {% set precision = txtsOpcoes ?txtsOpcoes: 4 %}
{% if habilitado %} {% if value is empty %} {% set value = defaultValue %} {% endif %} {% endif %}
{% endmacro %} {% macro inputCheckbox(label, name, id, value, habilitado, defaultValue, values) %}
{% if value is empty %} {% set value = defaultValue %} {% else %} {% set value = value|split('^|^') %} {% endif %} {% set options = values|split('^|^') %} {% for option in options %} {% endfor %}
{% endmacro %} {% macro inputSelectChosen(label, name, id, value, habilitado, defaultValue, values) %}
{% if value is empty %} {% set value = defaultValue %} {% else %} {% set value = value|split('^|^') %} {% endif %} {% set options = values|split('^|^') %}
{% endmacro %} {% macro inputSelect(label, name, id, value, habilitado, defaultValue, values) %}
{% if habilitado %} {% if value is empty %} {% set value = defaultValue %} {% endif %} {% endif %} {% set options = values|split('^|^') %}
{% endmacro %} {% macro inputSelect2(label, name, id, class, values) %}
{% set options = values|split(';') %}
{% endmacro %} {% macro mount_map(featuresCollection,inclusaoFeaturesCollection, edicaoFeaturesCollection, center, inlineLegend) %}
Legenda:
{% endmacro %}