{% load i18n %}
<form id="form_toggle_{{ image.id }}" class="form-toggle" method="post">
  {% csrf_token %}
  {% for hidden in form.hidden_fields %}
    {{ hidden }}
  {% endfor %}
  <input name="image_id" type="hidden" value="{{ image.id }}" />
  <input id="toggle_{{ image.id }}" class="toggle" type="submit" value="{% trans "Toggle Public" %}" />
</form>
