mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 15:26:10 -06:00
#2253 Do not show GET if it's off
This commit is contained in:
parent
0feecf7424
commit
42bce4bc7d
@ -58,7 +58,7 @@
|
|||||||
{{ form.fields.slug|raw }}
|
{{ form.fields.slug|raw }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% if setting_value('visiosoft.module.advs::market_place') %}
|
||||||
{{ addBlock('new-ad/fields', {'adv': adv})|raw }}
|
{{ addBlock('new-ad/fields', {'adv': adv})|raw }}
|
||||||
|
|
||||||
<div class="row form-group select-price{{ setting_value('visiosoft.module.advs::hide_standard_price_field') ? ' d-none' }}">
|
<div class="row form-group select-price{{ setting_value('visiosoft.module.advs::hide_standard_price_field') ? ' d-none' }}">
|
||||||
@ -68,18 +68,21 @@
|
|||||||
</label>
|
</label>
|
||||||
<div class="col-12 standard-price-hidden d-none">
|
<div class="col-12 standard-price-hidden d-none">
|
||||||
{{ form.fields.standard_price.setAttributes({
|
{{ form.fields.standard_price.setAttributes({
|
||||||
'required' :true
|
'required' :true,
|
||||||
}).input|raw }}
|
}).input|raw }}
|
||||||
</div>
|
</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="{{ standardPriceValue|first }}">
|
<input class="form-control standard-price-field whole-price" value="0">
|
||||||
</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" placeholder="00" maxlength="2"
|
<input class="form-control standard-price-decimal-field decimal-price"
|
||||||
|
placeholder="00" maxlength="2"
|
||||||
value="{{ standardPriceValue[1] }}">
|
value="{{ standardPriceValue[1] }}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<div class="row form-group select-price">
|
<div class="row form-group select-price">
|
||||||
<label class="col-sm-2 col-xs-12">
|
<label class="col-sm-2 col-xs-12">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user