mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#3634 ad post error
This commit is contained in:
parent
0cc8a5d78f
commit
998928904e
@ -20,24 +20,24 @@
|
||||
<li class="country-data" data-content="{{ adv['country_id'] }}"
|
||||
data-default="{{ setting_value('visiosoft.module.location::default_country') }}"
|
||||
class="location-field country-data">
|
||||
{{ form.fields.country.setAttributes({'required': true}).setOptions({})|raw }}
|
||||
{{ form.fields.countrysetOptions({})|raw }}
|
||||
</li>
|
||||
<li class="city-data" data-content="{{ adv['city'] }}"
|
||||
data-default="{{ setting_value('visiosoft.module.location::default_city') }}"
|
||||
class="location-field city-data">
|
||||
{{ form.fields.city.setAttributes({'required': true})|raw }}
|
||||
{{ form.fields.city|raw }}
|
||||
</li>
|
||||
<li class="district-data" data-content="{{ adv['district'] }}"
|
||||
class="location-field district-data">
|
||||
{{ form.fields.district.setAttributes({'required': true})|raw }}
|
||||
{{ form.fields.district|raw }}
|
||||
</li>
|
||||
<li class="neighborhood-data" data-content="{{ adv['neighborhood'] }}"
|
||||
class="location-field neighborhood-data">
|
||||
{{ form.fields.neighborhood.setAttributes({'required': true})|raw }}
|
||||
{{ form.fields.neighborhood|raw }}
|
||||
</li>
|
||||
{% if not setting_value('visiosoft.module.advs::hide_village_field') %}
|
||||
<li class="village-data" data-content="{{ adv['village'] }}" class="location-field">
|
||||
{{ form.fields.village.setAttributes({'required': true})|raw }}
|
||||
{{ form.fields.village|raw }}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user