mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -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 }}
|
||||
</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') %}
|
||||
{{ addBlock('new-ad/fields', {'adv': adv})|raw }}
|
||||
|
||||
@ -66,14 +71,11 @@
|
||||
{{ form.fields.standard_price.label|raw }}
|
||||
<span class="required">*</span>
|
||||
</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('.') %}
|
||||
<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 class="col-4 col-md-1">
|
||||
<input class="form-control standard-price-decimal-field decimal-price"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user