FossilRepo

fossilrepo / templates / organization / member_confirm_remove.html
1
{% extends "base.html" %}
2
{% block title %}Remove Member — Fossilrepo{% endblock %}
3
4
{% block content %}
5
<div class="mb-6">
6
<a href="{% url 'organization:members' %}" class="text-sm text-brand-light hover:text-brand">&larr; Back to Members</a>
7
</div>
8
9
<div class="mx-auto max-w-lg">
10
<div class="rounded-lg bg-gray-800 p-6 shadow border border-gray-700">
11
<h2 class="text-lg font-semibold text-gray-100">Remove Member</h2>
12
<p class="mt-2 text-sm text-gray-400">
13
Are you sure you want to remove <strong class="text-gray-100">{{ membership.member.username }}</strong> from the organization? This action uses soft delete — the membership can be recovered.
14
</p>
15
<form method="post" class="mt-6 flex justify-end gap-3">
16
{% csrf_token %}
17
<a href="{% url 'organization:members' %}"
18
class="rounded-md bg-gray-700 px-4 py-2 text-sm font-semibold text-gray-100 shadow-sm ring-1 ring-inset ring-gray-600 hover:bg-gray-600">
19
Cancel
20
</a>
21
<button type="submit"
22
class="rounded-md bg-red-600 px-4 py-2 text-sm font-semibold text-white shadow-sm hover:bg-red-500">
23
Remove
24
</button>
25
</form>
26
</div>
27
</div>
28
{% endblock %}
29

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button