Skip to content

Commit

Permalink
[Waste] Make sure location form has correct type.
Browse files Browse the repository at this point in the history
This was previously done only for Peterborough.
  • Loading branch information
dracos committed Sep 20, 2023
1 parent 1e41f22 commit 9b91554
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion templates/web/base/waste/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

[% IF form.intro_template %][% PROCESS "waste/${form.intro_template}" %][% END %]

<form class="waste waste--[% form.current_page.name OR form.name %]" method="post">
<form class="waste waste--[% form.current_page.name OR form.name %]" method="post"
[% IF form.current_page.name == 'location' %]enctype="multipart/form-data"[% END %]>
[% PROCESS form %]
</form>

Expand Down
2 changes: 1 addition & 1 deletion templates/web/peterborough/waste/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

[% IF form.intro_template %][% PROCESS "waste/${form.intro_template}" %][% END %]

<form class="waste" method="post"
<form class="waste waste--[% form.current_page.name OR form.name %]" method="post"
[% IF form.current_page.name == 'location' %]enctype="multipart/form-data"[% END %]>
[% UNLESS property %]
<div class="govuk-grid-row">
Expand Down

0 comments on commit 9b91554

Please sign in to comment.