{% extends "frbase/base.html" %}
{% load i18n %}
{% load sekizai_tags %}

{% block doctitle %}
Gruppe {{ object }} löschen
{% endblock %}

{% block pagetitle_left %}
<i class="icon-remove-sign"></i>
<h3>Gruppe {{ object }} löschen</h3>
<h5>Möchten Sie die Gruppe {{ object }} wirklich löschen?</h5>
{% endblock %}

{% block content %}
<form action="." method="post" accept-charset="utf-8">
    {% csrf_token %}

	{% if form.non_field_errors %}
	{% for error in form.non_field_errors %}
	<span class="help-block note status-error"><i class="icon-warning-sign"></i>{{ error }}</span>
	{% endfor %}
	{% endif %}
	
	<p>
		<select name="delete_group" id="delete_group" size="1" class="uniform">
			<option value="No">{% trans "No" %}</option>
			<option value="Yes">{% trans "Yes" %}</option>
		</select>
        <input type="submit" class="btn btn-red" value="Bestätigen">
	</p>
</form>

{% addtoblock "js" %}
<script type="text/javascript">
$(document).ready(function() {
  $('.menu').removeClass('active');
  $('#menu-gruppen').addClass("active");
  $('#gruppen').collapse('show');
});
</script>
{% endaddtoblock %}

{% endblock %}