{% extends "propesqBundle::layout.html.twig" %} {% import "propesqBundle:Form:function.html.twig" as formFunction %} {% block stylesheets %} {% endblock %} {% block content %}

{%if entity.id is defined and entity.id is not null and show is defined%} {{'cabecalho.detalhar.especiepmap'|trans}} {% elseif entity.id is defined and entity.id is not null%} {{'cabecalho.alterar.especiepmap'|trans}} {%else%} {{'cabecalho.incluir.especiepmap'|trans}} {%endif%}

{{ formFunction.show('entidade.especiepmap.txtNomeCientifico',entity.txtNomeCientifico)}}
{{ formFunction.show('entidade.especiepmap.txtNomeReferenciaPmap',entity.txtNomeReferenciaPmap)}}
{{ formFunction.show('entidade.especiepmap.txtNivelTaxonomico',entity.txtNivelTaxonomico)}}
{{ formFunction.show('entidade.especiepmap.txtAutor',entity.txtAutor)}}
{{ formFunction.show('entidade.especiepmap.txtGenero',entity.txtGenero)}}
{{ formFunction.show('entidade.especiepmap.txtFamilia',entity.txtFamilia)}}
{{ formFunction.show('entidade.especiepmap.txtOrdem',entity.txtOrdem)}}
{{ formFunction.show('entidade.especiepmap.txtClasse',entity.txtClasse)}}
{{ formFunction.show('entidade.especiepmap.txtAlphaid',entity.txtAlphaid)}}
{{ formFunction.show('entidade.especiepmap.txtTsn',entity.txtTsn)}}
{% for especiePmapRelacionada in entity.especies %} {% include 'propesqBundle:EspeciePMAPRelacionada:show.html.twig' with {'especiePmapRelacionada': especiePmapRelacionada, 'id' : loop.index0} %} {% else %} {{ 'cabecalho.detalhar.nenhuma_informacao' | trans }} {% endfor %}
{% if entity.codRespInclusao %} {% else %} {% endif %}
{% if entity.codRespEdicao is not null %}
{% endif %}
{% if is_granted('ROLE_ESPECIEPMAP_LIST') %} {{'acao.listar'|trans}} {% endif %} {% if FF_indexador_taxonomico == "master" %} {% if is_granted('ROLE_ESPECIEPMAP_EDIT') %} {{'acao.editar'|trans}} {% endif %} {% if is_granted('ROLE_ESPECIEPMAP_DELETE') %} {{'acao.excluir'|trans}} {% endif %} {% endif %}
{% endblock %}