{% extends "tinyimages/base.html" %}
{% load i18n %}

{% block content %}
  <div class="image-form">
    <form method="post" action="" enctype="multipart/form-data">
      <table>
        {{ form }}
      </table>
      <input type="submit" value="{% trans "Send" %}" />
    </form>
  </div>

  {% if message %}
  <div class="message-div">
    {{ message }}
  </div>
  {% endif %}

  <div class="image-list">
    {% block message %}
    {% endblock %}
    {% for object in object_list %}
      <div class="tinyimage">
        {% block content_object %}
        {% endblock %}
      </div>
    {% endfor %}
    <div style="clear: both">&nbsp;</div>
  </div>
  {% if is_paginated %}
    <div class="paginator">
      {% include "tinyimages/paginator.html" %}
    </div>
  {% endif %}
{% endblock %}
