diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 15:21:37 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 15:21:37 +0100 |
commit | b969e7b3bbce650522370e607e788ee58075fed3 (patch) | |
tree | da28e8d8ea60a45a052c4df075f01aea63c30b68 | |
parent | d4e6e7b3c8f10c6671cecea2c2ca42578678eb4a (diff) |
form cosmetics
-rw-r--r-- | ctrack/register/models.py | 6 | ||||
-rw-r--r-- | 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 %} <h3 class="mt-2">Register a single date event for {{ caf.version }} ({{ caf.organisation.name }})</h3> - <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> + <p>Official events for this CAF which involve a single date should be registered here.</p> <form method="post"> {% csrf_token %} {{ form|crispy }} |