add button to open map, finish county filtering

This commit is contained in:
Ryan Prather 2024-12-22 23:02:32 +00:00
parent 9cc469b5f8
commit e84e954164

View File

@ -20,6 +20,7 @@
<h6 class="text-white text-capitalize ps-3">Free/Low-cost Community Resources</h6> <h6 class="text-white text-capitalize ps-3">Free/Low-cost Community Resources</h6>
</div> </div>
<div> <div>
<button type='button' class='btn btn-block btn-light mb-3' onclick="window.open('{{ path('app_community_resource_map') }}', '_self')">Map</button>
<button type="button" class="btn btn-block btn-light mb-3" onclick="window.open('{{ path('app_community_resource_add') }}', '_self')">Add Resource</button> <button type="button" class="btn btn-block btn-light mb-3" onclick="window.open('{{ path('app_community_resource_add') }}', '_self')">Add Resource</button>
</div> </div>
</div> </div>
@ -27,7 +28,7 @@
<div class="card-body px-0 pb-2"> <div class="card-body px-0 pb-2">
<div> <div>
Filters: Filters:
<select onchange='filterResourceByCounty(this.value)'> <select onchange='filterResourceByCounty()' id='countyList'>
<option value=''></option> <option value=''></option>
{% for c in enum('App\\Enums\\County').cases() %} {% for c in enum('App\\Enums\\County').cases() %}