mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge branch 'master' of https://github.com/openclassify/openclassify into master
This commit is contained in:
commit
548d0dd23d
@ -58,28 +58,33 @@
|
||||
{{ form.fields.slug|raw }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ 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' }}">
|
||||
<label class="col-sm-2 col-xs-12">
|
||||
{{ 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="{{ standardPriceValue|first }}">
|
||||
</div>
|
||||
<div class="col-4 col-md-1">
|
||||
<input class="form-control standard-price-decimal-field decimal-price" placeholder="00" maxlength="2"
|
||||
value="{{ standardPriceValue[1] }}">
|
||||
</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 }}
|
||||
|
||||
<div class="row form-group select-price{{ setting_value('visiosoft.module.advs::hide_standard_price_field') ? ' d-none' }}">
|
||||
<label class="col-sm-2 col-xs-12">
|
||||
{{ form.fields.standard_price.label|raw }}
|
||||
<span class="required">*</span>
|
||||
</label>
|
||||
|
||||
{% 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="{{ standardPriceValue|first }}">
|
||||
</div>
|
||||
<div class="col-4 col-md-1">
|
||||
<input class="form-control standard-price-decimal-field decimal-price"
|
||||
placeholder="00" maxlength="2"
|
||||
value="{{ standardPriceValue[1] }}">
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="row form-group select-price">
|
||||
<label class="col-sm-2 col-xs-12">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user