diff options
author | Yulqen <246857+yulqen@users.noreply.github.com> | 2024-09-05 12:03:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 12:03:42 +0100 |
commit | acf9ad680f7c4c8a1283b21ab4cc3df112955530 (patch) | |
tree | 0ee570cc70236717928df26bdea7b231c4de8f26 /engagements/forms.py | |
parent | 4187f41b48814b3c13ac75a6a9f57dd4efcaaa4c (diff) | |
parent | 707128730185f67d24ccfed2a9c7056129478fec (diff) |
Merge pull request #102 from defencedigital/postgres-migration
Postgres migration
Diffstat (limited to 'engagements/forms.py')
-rw-r--r-- | engagements/forms.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/engagements/forms.py b/engagements/forms.py index a1c3c44..2532892 100644 --- a/engagements/forms.py +++ b/engagements/forms.py @@ -16,6 +16,10 @@ class EngagementEffortReportingCreateForm(forms.ModelForm): class Meta: model = EngagementEffort + help_texts = { + "is_planned": ("To distinguish planned events from retrospective recording."), + "officers": ("Include yourself here but you can also add effort for your colleagues.") + } fields = [ 'is_planned', 'proposed_start_date', @@ -63,7 +67,7 @@ class EngagementEffortRegulationCreateForm(forms.ModelForm): "notes", ] help_texts = { - "is_planned": ("<br><small><em>To distinguish planned events from retrospective recording</em></small>") + "is_planned": ("To distinguish planned events from retrospective recording.") } widgets = { "proposed_start_date": forms.DateTimeInput( @@ -93,7 +97,7 @@ class EngagementEffortPlanningCreateForm(forms.ModelForm): "notes", ] help_texts = { - "is_planned": ("<br><small><em>To distinguish planned events from retrospective recording</em></small>") + "is_planned": ("To distinguish planned events from retrospective recording.") } widgets = { "proposed_start_date": forms.DateTimeInput( @@ -126,6 +130,9 @@ class EngagementEffortTravelCreateForm(forms.ModelForm): "proposed_start_date": forms.DateTimeInput(attrs={"type": "datetime-local"}), "proposed_end_date": forms.DateTimeInput(attrs={"type": "datetime-local"}), } + help_texts = { + "is_planned": ("To distinguish planned events from retrospective recording.") + } class EngagementEffortCreateForm(forms.ModelForm): @@ -186,6 +193,7 @@ class EngagementCreateForm(forms.ModelForm): "proposed_start_date", "proposed_end_date", "engagement_type", + "external_party", "officers", ] labels = { |