Skip to content

Commit

Permalink
Remove unecessary margin styling
Browse files Browse the repository at this point in the history
updating to reflect simple form

actually saving

fix e2e
  • Loading branch information
Tllew committed Jan 13, 2025
1 parent fd40d50 commit 3ce28d4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions caseworker/advice/forms/approval.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def __init__(self, *args, **kwargs):
self.fields["proviso_checkboxes"].choices = proviso_choices
for choices in proviso_choices:
self.fields[choices.value] = forms.CharField(
widget=forms.Textarea(attrs={"rows": 3, "class": "govuk-!-margin-top-4"}),
widget=forms.Textarea(attrs={"rows": 3}),
label="Description",
required=False,
initial=proviso_text[choices.value],
Expand All @@ -119,7 +119,7 @@ class Layout:
TITLE = "Add licence conditions (optional)"

proviso = forms.CharField(
widget=forms.Textarea(attrs={"rows": 7, "class": "govuk-!-margin-top-4"}),
widget=forms.Textarea(attrs={"rows": 7}),
label="Licence condition",
required=False,
)
Expand All @@ -146,7 +146,7 @@ class Layout:
choices=(),
)
footnote_details = forms.CharField(
widget=forms.Textarea(attrs={"rows": 3, "class": "govuk-!-margin-top-4"}),
widget=forms.Textarea(attrs={"rows": 3}),
label="",
required=False,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Feature: I want to record my user advice and any comments and conditions relatin
And I enter "reason for approving" as the approval reasons
And I click add licence condition
And I click continue
And I enter "MOD licence condition" as the licence condition into the "other" checkbox
And I enter "MOD licence condition" into the licence condition
And I click continue
And I enter "instruction for exporter" as the instructions for the exporter on the instructions step
And I enter "reporting footnote" as the reporting footnote on the instructions step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Feature: I want to record my user advice and any comments and conditions relatin
And I enter "reason for approving" as the approval reasons
And I click add licence condition
And I click continue
And I enter "licence condition" as the licence condition into the "other" checkbox
And I enter "licence condition" into the licence condition
And I click continue
And I enter "instruction for exporter" as the instructions for the exporter on the instructions step
And I enter "reporting footnote" as the reporting footnote on the instructions step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: I want to record my user advice and any comments and conditions relatin
And I enter "approval reason" as the approval reasons
And I click add licence condition
And I click continue
And I enter "licence condition" as the licence condition into the "other" checkbox
And I enter "licence condition" into the licence condition
And I click continue
And I enter "instruction for exporter" as the instructions for the exporter on the instructions step
And I enter "reporting footnote" as the reporting footnote on the instructions step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: I want to record my user advice and any comments and conditions relatin
And I enter "approval reason" as the approval reasons
And I click add licence condition
And I click continue
And I enter "licence condition" as the licence condition into the "other" checkbox
And I enter "licence condition" into the licence condition
And I click continue
And I enter "instruction for exporter" as the instructions for the exporter on the instructions step
And I enter "reporting footnote" as the reporting footnote on the instructions step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: I want to record my user advice and any comments and conditions relatin
And I enter "Hello World" as the approval reasons
And I click add licence condition
And I click continue
And I enter "licence condition" as the licence condition into the "other" checkbox
And I enter "licence condition" into the licence condition
And I click continue
And I enter "instruction for exporter" as the instructions for the exporter on the instructions step
And I enter "reporting footnote" as the reporting footnote on the instructions step
Expand Down

0 comments on commit 3ce28d4

Please sign in to comment.