mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
#2253 Do not show GET if it's off
This commit is contained in:
parent
42bce4bc7d
commit
f6737325a4
@ -58,6 +58,11 @@
|
|||||||
{{ form.fields.slug|raw }}
|
{{ form.fields.slug|raw }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-12 standard-price-hidden d-none">
|
||||||
|
{{ form.fields.standard_price.setAttributes({
|
||||||
|
'required' :true,
|
||||||
|
}).input|raw }}
|
||||||
|
</div>
|
||||||
{% if setting_value('visiosoft.module.advs::market_place') %}
|
{% if setting_value('visiosoft.module.advs::market_place') %}
|
||||||
{{ addBlock('new-ad/fields', {'adv': adv})|raw }}
|
{{ addBlock('new-ad/fields', {'adv': adv})|raw }}
|
||||||
|
|
||||||
@ -66,14 +71,11 @@
|
|||||||
{{ form.fields.standard_price.label|raw }}
|
{{ form.fields.standard_price.label|raw }}
|
||||||
<span class="required">*</span>
|
<span class="required">*</span>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-12 standard-price-hidden d-none">
|
|
||||||
{{ form.fields.standard_price.setAttributes({
|
|
||||||
'required' :true,
|
|
||||||
}).input|raw }}
|
|
||||||
</div>
|
|
||||||
{% set standardPriceValue = form.fields.standard_price.value|split('.') %}
|
{% set standardPriceValue = form.fields.standard_price.value|split('.') %}
|
||||||
<div class="col-8 pr-0 col-md-3">
|
<div class="col-8 pr-0 col-md-3">
|
||||||
<input class="form-control standard-price-field whole-price" value="0">
|
<input class="form-control standard-price-field whole-price"
|
||||||
|
value="{{ standardPriceValue|first }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4 col-md-1">
|
<div class="col-4 col-md-1">
|
||||||
<input class="form-control standard-price-decimal-field decimal-price"
|
<input class="form-control standard-price-decimal-field decimal-price"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user