aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/templates
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-16 14:29:01 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-16 14:29:01 +0100
commit59592232da815f4e8c6f61cb9042e738990c1b6e (patch)
tree37f078cc978731f79fdda7a3fbf25473294857fd /ctrack/register/templates
parent404981d748efc345fa7edfc8538306ce61ce81ad (diff)
better handling of simple event form and participants
Diffstat (limited to 'ctrack/register/templates')
-rw-r--r--ctrack/register/templates/single_datetime_event_create.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/ctrack/register/templates/single_datetime_event_create.html b/ctrack/register/templates/single_datetime_event_create.html
index 6e607be..34ff22c 100644
--- a/ctrack/register/templates/single_datetime_event_create.html
+++ b/ctrack/register/templates/single_datetime_event_create.html
@@ -4,10 +4,14 @@
{% load crispy_forms_tags %}
{% block form %}
- <h3 class="mt-2">Create a new simple event</h3>
+ {% if org %}
+ <h3 class="mt-2">Create a new simple event involving {{ org }}</h3>
+ {% else %}
+ <h3 class="mt-2">Create a new simple event</h3>
+ {% endif %}
<p>Simple events are emails, phone calls, basic meetings, notes, deadlines, etc.
- If you arrived at this page from an organisation's page, you are able to select
- participants in the event from that organisation.</p>
+ If you arrived at this page from an organisation's page, you are able to select
+ participants in the event from that organisation.</p>
<form method="post">
{% csrf_token %}
{{ form|crispy }}