{% block content %}
{% if fgjem is defined and not fgjem is empty %}
{% set data = fgjem.persona_desaparecida is empty ? '' : fgjem.persona_desaparecida %}
{% if not data is empty %}
<section id="container-slider-f">
<a href="javascript: funcionEjecutarF('anterior-f');" class="arrowPrev">
<i class="fas fa-chevron-circle-left"></i>
</a>
<a href="javascript: funcionEjecutarF('siguiente-f');" class="arrowNext">
<i class="fas fa-chevron-circle-right"></i>
</a>
<ul class="listslider-f" hidden>
{% for item in data %}
{% set index = loop.index %}
<li>
<a itlist="itListF_{{ index - 1 }}" href="#" class="{{ loop.first ? 'item-select-slid-f' }}"></a>
</li>
{% endfor %}
</ul>
<ul id="slider-f">
{% for item in data %}
{% set imagen = item.cedula_imagen %}
{% set pdf = item.cedula_pdf %}
<a href="{{ pdf }}" target="_blank">
<li style="background-image: url({{ imagen }}); {{ loop.first ? 'z-index:0; opacity: 1' }}"></li>
</a>
{% endfor %}
</ul>
</section>
{% endif %}
{% endif %}
{% endblock %}