bornhack-website/src/teams/templates/teammember_remove.html

19 lines
810 B
HTML
Raw Normal View History

2017-05-23 19:21:47 +00:00
{% extends 'base.html' %}
{% load commonmark %}
{% block title %}
Remove member {{ teammember.user.profile.name }} from team {{ teammember.team.name }}
{% endblock %}
{% block content %}
<h3>Remove member {{ teammember.user.profile.name }} from the {{ teammember.team.name }} team</h3>
<p class="lead">Really remove the user <b>{{ teammember.user.profile.name }}</b> from the {{ teammember.team.name }} team? The user will receive an email with a message.<p>
<form method="POST">
{% csrf_token %}
{{ form }}
<button class="btn btn-danger" type="submit"><i class="fa fa-trash-o"></i> Remove teammember</button>
<a href="{% url 'team_detail' camp_slug=teammember.team.camp.slug slug=teammember.team.slug %}" class="btn btn-default" type="submit"><i class="fa fa-remove"></i> Cancel</a>
</form>
{% endblock %}