Skip to content

Commit

Permalink
[Bromley][Waste] Move general enquiry form
Browse files Browse the repository at this point in the history
  • Loading branch information
davea authored and MorayMySoc committed May 30, 2024
1 parent 269b6c9 commit 9fbd9dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion t/app/controller/waste_bromley_bulky.t
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ FixMyStreet::override_config {
$mech->submit_form_ok( { with_fields => { address => '12345' } } );

$mech->content_contains('Bulky Waste');
$mech->submit_form_ok({ form_number => 2 }); # 'Book Collection'
$mech->submit_form_ok; # 'Book Collection'
$mech->content_contains( 'Before you start your booking',
'Should be able to access the booking form' );
};
Expand Down
1 change: 1 addition & 0 deletions templates/web/bromley/waste/enquiry-problem.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
{ value = 'Damage to 3rd party', label = 'Someone else’s vehicle was damaged' },
{ value = 'Damage to Property', label = 'My property was damaged' },
{ value = 'Failure to deliver bin', label = 'My bin was not delivered' },
{ value = 'General Enquiry', label = 'Other' },
);

PROCESS waste/enquiry.html
Expand Down
6 changes: 0 additions & 6 deletions templates/web/bromley/waste/services.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,3 @@
</form>
[% END %]
[% END %]

<form method="get" action="[% c.uri_for_action('waste/enquiry', [ property.id ]) %]">
<input type="hidden" name="service_id" value="[% unit.service_id %]">
<input type="hidden" name="category" id="category" value="General Enquiry">
<input type="submit" value="Contact us about a [% unit.service_name FILTER lower %] collection" class="waste-service-descriptor waste-service-link">
</form>

0 comments on commit 9fbd9dd

Please sign in to comment.