{% extends "itsapp/base.html" %}

{% block content %}
	<h2>Search '{{term}}'</h2>
	<div class="galleries">
		{% for photo in photos %}
			<div class="gallery">
				<div class="image">
					<a href="{% url show_photo photo.gallery.identificator photo.id %}">
						<img  src="{% url get_thumb_data2 photo.id 200%}"/>
					</a>
				</div>
				<div class="title">
					{{photo.name}}
				</div>
			</div>
		{% endfor%}
	</div>
{% endblock %}
