-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathsession_cancel.html
More file actions
33 lines (23 loc) · 1.47 KB
/
session_cancel.html
File metadata and controls
33 lines (23 loc) · 1.47 KB
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
{% extends "coderdojochi/_base.html" %}
{% load i18n %}
{% block title %}{{ session.course.title }} Sign Up | {{ block.super }}{% endblock %}
{% block body_class %}page-class-sign-up{% endblock %}
{% block contained_content %}
<div class="container registration min-height">
{% if user_signed_up %}
<h1 class="title light"><strong>{{ student.full_name }}</strong> can no longer make it to the <strong>"{{ session.course.title }}"</strong> class on <strong>{{ session.start_date|date }}</strong> from <strong>{{ session.start_date|time }}</strong> to <strong>{{ session.end_date|time }}</strong>.</h1>
<form class="form" method="POST" action="">
{% csrf_token %}
<button class="button tertiary large">Yes, cancel</button>
<a href="{{ session.get_absolute_url }}" class="button large secondary">Nevermind</a>
</form>
{% else %}
<h1 class="title light">Enroll <strong>{{ student.full_name }}</strong> for the <strong>"{{ session.course.title }}"</strong> class on <strong>{{ session.start_date|date }}</strong> from <strong>{{ session.start_date|time }}</strong> to <strong>{{ session.end_date|time }}</strong>.</h1>
<form class="form" method="POST" action="">
{% csrf_token %}
<button class="button large">Yes, I'm excited!</button>
<a href="{{ session.get_absolute_url }}" class="button large secondary">Nevermind</a>
</form>
{% endif %}
</div>
{% endblock %}