{% extends '@RxConnexion/Admin/content.html.twig' %}
{% block content %}
    <div class="row max-width-initial">
        <div class="small-12 columns">
            <div class="content-container">
                <div class="content-container-content">
                    <div class="row max-width-initial">
                        <div class="large-12 columns">
                            <div class="row max-width-initial">
                                <div class="large-4 columns">
                                    <label>City</label>
                                    <input type="text" id="filter-city-desc" />
                                    <input type="hidden" id="filter-city-id" />
                                </div>
                                <div class="large-4 columns">
                                    <label>Postal Code</label>
                                    <input type="text" id="filter-postalCode-desc" />
                                    <input type="hidden" id="filter-postalCode-id" />
                                </div>
                                <div class="large-4 columns">
                                    <label>Patient</label>
                                    <input type="text" id="filter-patient-fullName" />
                                    <input type="hidden" id="filter-patient-id" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="map-canvas">
    </div>

    {% include '@RxConnexion/Admin/js.html.twig' %}
    <script language="javascript">
        //<![CDATA[
        map.settings.healthFacilityAjax = '{{ path('health_facility_for_map_ajax') }}';
        map.settings.patient_autocomplete_url = '{{ path('patient_autocomplete') }}';
        map.settings.city_autocomplete_url = '{{ path('city_autocomplete_for_map') }}';
        map.settings.postalCode_autocomplete_url = '{{ path('postal_code_autocomplete_for_map') }}';
        //]]>
    </script>
    <script src="https://maps.googleapis.com/maps/api/js?key={{ googleMapApiKey }}&libraries=places&callback=map.init" defer></script>
{% endblock %}