{% extends "forms.html" %}


{% block title %}Remove person from group{% endblock %}


{% block breadcrumbs %}
<div class="breadcrumbs">
    <a href='{% url "index" %}'>Home</a>&nbsp;›
    <a href="{% url 'kg_group_list' %}">Groups</a>&nbsp;›
    <a href="{% url 'kg_group_detail' group.name %}">{{ group }}</a>&nbsp;›
    Remove person
</div>
{% endblock %}


{% block content %}
{% if error %}
    <h1>Cannot remove group from person</h1>
    <p>{{ error }}</p>
{% else %}
    <h1>Are you sure?</h1>    
    <p>Are you sure you want to remove the person "{{ person }}" from the group "{{ group }}"? </p>
    <form method="post" action=".">{% csrf_token %}
    <div>
    <input type="hidden" name="post" value="yes" />
    <input type="submit" value="Yes, I'm sure" />
    </div>
    </form>
{% endif %}
{% endblock %}
