Commit dc7eeb70 authored by ornanovitch's avatar ornanovitch 🐃

création spectacle : masquer champ tarif si non balises

parent 219aa2f4
......@@ -2,15 +2,18 @@
<div class="row">
<div class="col-sm-6">
{{ form_label(form.isBalise, 'Offre Balises') }}
<h6 class="mt-3 font-weight-bold text-uppercase m-0">{{ form_widget(form.isBalise) }}</h6>
<label class="h6 mt-3 font-weight-bold text-uppercase m-0"
data-toggle="collapse"
data-target="#tarifSiBalises"
aria-expanded="false"
aria-controls="tarifSiBalises">
{{ form_widget(form.isBalise) }}</label>
<div class="collapse" id="tarifSiBalises" aria-expanded="false">
<h6 class="mt-3 font-weight-bold text-uppercase m-0">{{ form_label(form.baseRate, 'Plein Tarif') }}</h6>
{{ form_widget(form.baseRate, {'attr': {'class': 'hold','placeholder': '0.00'}}) }}
</div>
</div>
</div>
<div class="row">
<div class="col-sm-3">
<h6 class="mt-3 font-weight-bold text-uppercase m-0">{{ form_label(form.baseRate, 'Plein Tarif') }}</h6>
{{ form_widget(form.baseRate, {'attr': {'class': 'hold','placeholder': '0.00'}}) }}
</div>
<div class="col-sm-3">
<div class="col-sm-6">
<h6 class="mt-3 font-weight-bold text-uppercase m-0">{{ form_label(form.baseRate, 'Durée (H m)') }}</h6>
{{ form_widget(form.duration, {'attr': {'class': 'hold'}}) }}
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment