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

19 lines
820 B
HTML
Raw Normal View History

2017-05-23 19:21:47 +00:00
{% extends 'base.html' %}
{% 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 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>
2017-11-24 21:06:23 +00:00
<a href="{% url 'teams:detail' camp_slug=teammember.team.camp.slug team_slug=teammember.team.slug %}" class="btn btn-default" type="submit"><i class="fa fa-remove"></i> Cancel</a>
2017-05-23 19:21:47 +00:00
</form>
{% endblock %}