Created
July 29, 2011 11:21
-
-
Save andypearson/1113640 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo $form->build('/booking', | |
$form->fieldset( | |
$element->build('header', | |
$element->build('h3', 'Outbound Drop Off Booking Request'), | |
$form->input('return', array('as' => 'boolean', 'label' => 'Tick if you require collection on your return')) | |
), | |
$element->build('div', | |
$form->input('outbound_date', array('label' => 'Date')), | |
$form->input('outbound_flight_number', array('label' => 'Outbound Flight Number')), | |
$form->input('outbound_terminal', array('label' => 'Terminal')), | |
array('class' => 'fields')), | |
$element->build('div', | |
$form->input('outbound_time', array('label' => 'Time')), | |
$form->input('outbound_airport', array('label' => 'Airport')), | |
$form->input('outbound_passengers', array('label' => 'Number of Passengers')), | |
array('class' => 'fields alt-fields')), | |
$form->input('outbound_pickup_address', array('as' => 'textarea', 'label' => 'Pick Up Address')), | |
$form->input('outbound_lead_passenger', array('label' => 'Lead Passenger Name')), | |
$form->input('outbound_telephone', array('label' => 'Telephone Number')), | |
$form->input('outbound_vehicle', array('label' => 'Vehicle Type Required')), | |
$form->input('outbound_notes', array('as' => 'textarea', 'label' => 'Notes / Special Requirements')) | |
), | |
$form->fieldset(array('class' => 'last'), | |
$element->build('div', | |
$element->build('header', | |
$element->build('h3', 'Inbound Drop off Booking Request') | |
), | |
$element->build('div', | |
$form->input('inbound_date', array('label' => 'Date')), | |
$form->input('inbound_flight_number', array('label' => 'Inbound Flight Number')), | |
$form->input('inbound_terminal', array('label' => 'Terminal')), | |
array('class' => 'fields')), | |
$element->build('div', | |
$form->input('inbound_time', array('label' => 'Time')), | |
$form->input('inbound_airport', array('label' => 'Airport')), | |
$form->input('inbound_passengers', array('label' => 'Number of Passengers')), | |
array('class' => 'fields alt-fields')), | |
$form->input('inbound_pickup_address', array('as' => 'textarea', 'label' => 'Pick Up Address')), | |
$form->input('inbound_lead_passenger', array('label' => 'Lead Passenger Name')), | |
$form->input('inbound_telephone', array('label' => 'Telephone Number')), | |
$form->input('inbound_vehicle', array('label' => 'Vehicle Type Required')), | |
array('style' => 'opacity:0.4')), | |
$form->input('terms', array('as' => 'boolean', 'label' => 'I agree to Arrowtax Terms and Conditions')), | |
$form->submit() | |
) | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment