{% extends "_layout.html" %}
{% load staticfiles %}

{% block main_content %}
<div class="uk-grid">
    {% for amiibo in amiibo_list %}
    <div class="uk-width-medium-1-5">
        <a class="uk-panel uk-panel-box uk-panel-box-hover">
            <h3 class="uk-panel-title uk-text-center">{{ amiibo.name_eu }}</h3>
            <img src="{% static amiibo.image_statue %}" />
        </a>
    </div>
    {% if forloop.counter|divisibleby:5 %}</div><div class="uk-grid">{% endif %}
    {% endfor %}
</div>
{% endblock %}
