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

19 lines
832 B
HTML
Raw Normal View History

{% extends 'team_base.html' %}
2017-05-23 19:21:47 +00:00
{% load commonmark %}
{% block title %}
2017-05-23 19:50:53 +00:00
Remove member {{ teammember.user.profile.name }} from the {{ teammember.team.name }} team
2017-05-23 19:21:47 +00:00
{% endblock %}
{% block team_content %}
2017-05-23 19:21:47 +00:00
<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="fas fa-trash-o"></i> Remove teammember</button>
<a href="{% url 'teams:general' camp_slug=teammember.team.camp.slug team_slug=teammember.team.slug %}" class="btn btn-default" type="submit"><i class="fas fa-times"></i> Cancel</a>
2017-05-23 19:21:47 +00:00
</form>
{% endblock %}