Merge branch 'develop' of cvs2:web/BigFore into develop
authorOve Klykken <klykken@gmail.com>
Wed, 16 Jul 2014 14:28:10 +0000 (10:28 -0400)
committerOve Klykken <klykken@gmail.com>
Wed, 16 Jul 2014 14:28:10 +0000 (10:28 -0400)
1  2 
templates/template.html

          </header>
          <div id="quoteRequest">
              <h2>Quote Request</h2>
-             <form>
+             <form flexy:ignore="yes" method="post" action="{mediaBaseURL:h}index.php?catid=9">
+                 <input type="hidden" name="_qf_default" value="page1:next">
+                 <input name="arrival" value="{arrivalDate:h}">
+                 <input name="departure" value="{departureDate:h}">
+                 <select name="golfers">
+                     <?php for ($i = 0; $i <= 20; ++$i) {?>
+                     <option value="<?php echo $i;?>"><?php echo $i;?></option>
+                     <?php }?>
+                 </select>
+                 <select name="nongolfers">
+                     <?php for ($i = 0; $i <= 20; ++$i) {?>
+                     <option value="<?php echo $i;?>"><?php echo $i;?></option>
+                     <?php }?>
+                 </select>
+                 <input type="submit" value="NEXT STEP">
              </form>
          </div>
+         <script>
+             $(function(){
+                 $('input[name="arrival"]').datepicker();
+                 $('input[name="departure"]').datepicker();
+             });
+         </script>
          <div id="main">
 -            <div id="toolbox">
 +            <div id="toolbox" class="clearfix">
                  <ul id="propertyImages" class="clearfix" flexy:if="property">
                      <li><img src="{propImageStyle:h}{property[image]:h}" flexy:if="property[image]" /></li>
                      <li><img src="{propImageStyle:h}{property[image2]:h}" flexy:if="property[image2]" /></li>