{% load staticfiles %}
<div class="swiper-wrapper">
    {% for couple in couple_list %}
        <div class="swiper-slide">
            <input type="hidden" value="{{ couple.id }}"/>
            <input type="hidden" id="simType" value="{{ sim_type }}"/>
            <div>
                <div class="modelbtn">
                    {% if request.session.sim_type == 'admin' %}

                        {% if couple_type == 'catalog' %}
                            <div class="model_star model_catalog" onclick="sc.catalogDetailClickEvent();"><img src="{% static 'simulation/images/searchIcon.png' %}"></div>
                            <div class="model_delete" onclick="sc.coupleDelete({{ couple.id }});"><img src="{% static 'simulation/images/closeIcon.png' %}"></div>
                        {% else %}
                            <div class="model_delete onlyone" onclick="sc.coupleDelete({{ couple.id }});"><img src="{% static 'simulation/images/closeIcon.png' %}"></div>
                        {% endif %}
                    {% else %}
                        {% if couple_type == 'normal' %}
                            <div class="model_star" onclick="sc.starClickEvent(this);">
                                {% if couple.favorite_check %}
                                    <img src="{% static 'simulation/images/star_c.png' %}">
                                {% else %}
                                    <img src="{% static 'simulation/images/star_n.png' %}">
                                {% endif %}
                            </div>
                            <div class="model_delete" onclick="sc.coupleDelete({{ couple.id }});"><img src="{% static 'simulation/images/closeIcon.png' %}"></div>
                        {% elif couple_type == 'catalog' %}
                            <div class="model_star" onclick="sc.starClickEvent(this);">
                                {% if couple.favorite_check %}
                                    <img src="{% static 'simulation/images/star_c.png' %}">
                                {% else %}
                                    <img src="{% static 'simulation/images/star_n.png' %}">
                                {% endif %}
                            </div>
                            <div class="model_delete model_catalog" onclick="sc.catalogDetailClickEvent();"><img src="{% static 'simulation/images/searchIcon.png' %}"></div>
                        {% else %}
                            <div class="model_star onlyone" onclick="sc.starClickEvent(this);">
                                {% if couple.favorite_check %}
                                    <img src="{% static 'simulation/images/star_c.png' %}">
                                {% else %}
                                    <img src="{% static 'simulation/images/star_n.png' %}">
                                {% endif %}
                            </div>
                        {% endif %}
                    {% endif %}


                </div>
{#                <div>#}
                <img class="boy_fitting" src="{{ couple.boy_fitting.front_image.url }}">
                <img class="girl_fitting" src="{{ couple.girl_fitting.front_image.url }}">
            </div>
        </div>
    {% endfor %}
</div>
<!-- Add Pagination
<div class="swiper-pagination"></div>-->