{% extends 'main/header.html' %}

{% block content %}

<div class="row">
{% for image in images %}
 <div class="col s3 m3">
    <div class="card horizontal">
      <div class="card-image">
        <img  src="/media/{{image}}" height="100">
      </div>
      <div class="card-stacked">
        <div style="font-size:70%" class="card-content">
          <p>{{ image }}
          <a href="/media/{{image}}">go</a>
		  <form method="post" action="{% url 'chemie-gallery-delete' image  %}" >
			{% csrf_token %}
			<button type="submit" style="font-size:70%" class="waves-effect waves-teal btn-flat  red accent-4">kill</button>
		  </form>
		  </p>
       </div>
      </div>
    </div>
 </div>	
{% endfor %}
</div>
{% endblock %}


     
