{% extends "base.html" %}
{% load i18n thumbnail %}

{% block maincontent %}
{% for event in event_list %}
 <div class="gallery grid_4">
  <h3><a href="{% url 'event-photo-list' event.id %}">{{event.name}}</a></h3>
  <a href="{% url 'event-photo-list' event.id %}"><img src="{{event.get_image|thumbnail_url:'thumbnail' }}" class="thumbnail" alt="{{ event.name }}"/></a>
 </div>
{% empty %}
 <p>Sorry da kommt erst was hin!</p>
{% endfor %}
{% endblock %}

{% block buttonbar %}{% endblock %}


