mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -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'] }}"
|
<li class="country-data" data-content="{{ adv['country_id'] }}"
|
||||||
data-default="{{ setting_value('visiosoft.module.location::default_country') }}"
|
data-default="{{ setting_value('visiosoft.module.location::default_country') }}"
|
||||||
class="location-field country-data">
|
class="location-field country-data">
|
||||||
{{ form.fields.country.setAttributes({'required': true}).setOptions({})|raw }}
|
{{ form.fields.countrysetOptions({})|raw }}
|
||||||
</li>
|
</li>
|
||||||
<li class="city-data" data-content="{{ adv['city'] }}"
|
<li class="city-data" data-content="{{ adv['city'] }}"
|
||||||
data-default="{{ setting_value('visiosoft.module.location::default_city') }}"
|
data-default="{{ setting_value('visiosoft.module.location::default_city') }}"
|
||||||
class="location-field city-data">
|
class="location-field city-data">
|
||||||
{{ form.fields.city.setAttributes({'required': true})|raw }}
|
{{ form.fields.city|raw }}
|
||||||
</li>
|
</li>
|
||||||
<li class="district-data" data-content="{{ adv['district'] }}"
|
<li class="district-data" data-content="{{ adv['district'] }}"
|
||||||
class="location-field district-data">
|
class="location-field district-data">
|
||||||
{{ form.fields.district.setAttributes({'required': true})|raw }}
|
{{ form.fields.district|raw }}
|
||||||
</li>
|
</li>
|
||||||
<li class="neighborhood-data" data-content="{{ adv['neighborhood'] }}"
|
<li class="neighborhood-data" data-content="{{ adv['neighborhood'] }}"
|
||||||
class="location-field neighborhood-data">
|
class="location-field neighborhood-data">
|
||||||
{{ form.fields.neighborhood.setAttributes({'required': true})|raw }}
|
{{ form.fields.neighborhood|raw }}
|
||||||
</li>
|
</li>
|
||||||
{% if not setting_value('visiosoft.module.advs::hide_village_field') %}
|
{% if not setting_value('visiosoft.module.advs::hide_village_field') %}
|
||||||
<li class="village-data" data-content="{{ adv['village'] }}" class="location-field">
|
<li class="village-data" data-content="{{ adv['village'] }}" class="location-field">
|
||||||
{{ form.fields.village.setAttributes({'required': true})|raw }}
|
{{ form.fields.village|raw }}
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user