♑🛠️
- add show price preference(store in cookies)
This commit is contained in:
@@ -30,7 +30,12 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="block text-sm font-medium text-gray-700 mb-1">Price Range (USD)</label>
|
||||
<label class="block text-sm font-medium text-gray-700 mb-1">
|
||||
Price Range
|
||||
{% if price_pref == 'sqft' %}
|
||||
<span class="text-xs text-gray-400 font-normal">(per sqft)</span>
|
||||
{% endif %}
|
||||
</label>
|
||||
<div class="flex gap-2">
|
||||
<input type="number" name="min_price" value="{{ min_price|default('') }}"
|
||||
placeholder="Min" min="0"
|
||||
@@ -86,7 +91,7 @@
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6">
|
||||
{% from "components/property_card.html" import property_card %}
|
||||
{% for prop in properties %}
|
||||
{{ property_card(prop) }}
|
||||
{{ property_card(prop, price_pref) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user