blob: bbe3bdaef1e6319f9f0fe819e565b3dbffb5cb89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{% extends "main/base.html" %}
{% block title %}Code Jams | Already applied{% endblock %}
{% block og_title %}Code Jams | Already applied{% endblock %}
{% block content %}
<div class="uk-section">
<div class="uk-container uk-container-small">
<h1 class="uk-header uk-article-title">
Code Jams: Retract Profile
</h1>
{% if participant %}
<p>
Are you sure you'd like to retract your code jam profile?
</p>
{% if banned %}
<p>
Retracting your code jam profile will remove your date of birth, GitHub username and timezone from our
database. If you're entirely sure that you'd like to remove your profile, please click on the "Remove" button below.
</p>
<p>
As you are currently taking part in a code jam,
<strong class="uk-text-danger">this will void your application and you will receive an automatic ban from future code jams</strong>
until you've contacted us about it.
</p>
{% else %}
<p>
Retracting your code jam profile will remove your date of birth, GitHub username and timezone from our
database. If you're entirely sure that you'd like to remove your profile, please click on the "Remove" button below.
</p>
<p>
As you are not currently taking part in an ongoing code jam,
<strong class="uk-text-primary">you will not be banned from future code jams</strong>.
</p>
{% endif %}
<form action="{{ url_for("main.jams.retract") }}" method="post" class="uk-form uk-text-center" uk-form>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<a class="uk-button uk-button-primary" href="{{ url_for("main.jams.profile") }}">
<i class="uk-icon fa-fw far fa-arrow-left"></i> Cancel
</a>
<button class="uk-button uk-button-danger" type="submit">
<i class="uk-icon fa-fw fas fa-bomb"></i> Remove
</button>
</form>
{% else %}
<p class="uk-alert uk-alert-danger">
You can't delete your profile - you haven't submitted one to us yet!
</p>
<a class="uk-button uk-button-secondary uk-width-1-1" href="{{ url_for("main.jams.profile") }}">
<i class="uk-icon fa-fw far fa-arrow-left"></i> Back
</a>
{% endif %}
</div>
</div>
{% endblock %}
|