From b969e7b3bbce650522370e607e788ee58075fed3 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 21 Oct 2020 15:21:37 +0100 Subject: form cosmetics --- ctrack/register/models.py | 6 +++--- ctrack/register/templates/register/caf_single_date_event_form.html | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ctrack/register/models.py b/ctrack/register/models.py index 8080302..1ce905a 100644 --- a/ctrack/register/models.py +++ b/ctrack/register/models.py @@ -73,7 +73,7 @@ class EventBase(AuditableEventBase): max_length=1000, blank=True, null=True, - help_text="URL only - do not try to drag a file here.", + help_text="Use this to link to documents on TiME/Sharepoint or elsewhere.", ) comments = models.TextField( max_length=1000, @@ -126,7 +126,7 @@ class SingleDateTimeEventMixin(models.Model): class SingleDateMixin(models.Model): - date = models.DateField(blank=False) + date = models.DateField(blank=False, help_text="DD/MM/YY format") class Meta: abstract = True @@ -221,7 +221,7 @@ class CAFSingleDateEvent(EventBase, CAFMixin, SingleDateMixin): ), ] type_descriptor = models.CharField( - blank=False, max_length=50, choices=AVAILABLE_TYPES + blank=False, max_length=50, choices=AVAILABLE_TYPES, verbose_name="Type", help_text="Select the event type" ) class Meta: diff --git a/ctrack/register/templates/register/caf_single_date_event_form.html b/ctrack/register/templates/register/caf_single_date_event_form.html index 98344db..24c4b14 100644 --- a/ctrack/register/templates/register/caf_single_date_event_form.html +++ b/ctrack/register/templates/register/caf_single_date_event_form.html @@ -5,9 +5,7 @@ {% block form %}

Register a single date event for {{ caf.version }} ({{ caf.organisation.name }})

-

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.

+

Official events for this CAF which involve a single date should be registered here.

{% csrf_token %} {{ form|crispy }} -- cgit v1.2.3