SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/views/components/fb_geocode_address.php

  1. <?php
  2. use Sprout\Helpers\Enc;
  3. ?>
  4.  
  5. <div class="search-symbol fb-geocode">
  6. <?php echo $form_field; ?>
  7. <div class="js-geocode-results fb-geocode__results"></div>
  8. </div>
  9.  
  10. <script>
  11. var geocode;
  12. Fb.initGeocodeAddress($('.js-geocode-address').attr('id'),
  13. <?php echo json_encode($options); ?>);
  14. </script>
  15.