fix w formularzu

This commit is contained in:
Mateusz Gruszczyński
2025-09-26 23:14:57 +02:00
parent 95b01665b9
commit fd46242cf5
2 changed files with 86 additions and 36 deletions

View File

@@ -297,44 +297,50 @@
</div>
<div class="row g-3 mt-2">
<div class="col-12 col-md-4">
<div class="form-check form-switch">
<input
class="form-check-input"
type="checkbox"
id="pokaz_postep_finanse"
name="pokaz_postep_finanse"
{% if zbiorka %}{% if zbiorka.pokaz_postep_finanse %}checked{% endif %}{% else %}checked{% endif %}
>
<label class="form-check-label" for="pokaz_postep_finanse">Pokaż postęp: Finanse</label>
</div>
</div>
<div class="col-12 col-md-4">
<div class="form-check form-switch">
<input
class="form-check-input"
type="checkbox"
id="pokaz_postep_pozycje"
name="pokaz_postep_pozycje"
{% if zbiorka %}{% if zbiorka.pokaz_postep_pozycje %}checked{% endif %}{% else %}checked{% endif %}
>
<label class="form-check-label" for="pokaz_postep_pozycje">Pokaż postęp: Zakupy (liczba)</label>
</div>
</div>
<div class="col-12 col-md-4">
<div class="form-check form-switch">
<input
class="form-check-input"
type="checkbox"
id="pokaz_postep_kwotowo"
name="pokaz_postep_kwotowo"
{% if zbiorka %}{% if zbiorka.pokaz_postep_kwotowo %}checked{% endif %}{% else %}checked{% endif %}
>
<label class="form-check-label" for="pokaz_postep_kwotowo">Pokaż postęp: Zakupy (kwotowo)</label>
</div>
<div class="col-12 col-md-4">
<div class="form-check form-switch">
<input
class="form-check-input"
type="checkbox"
id="pokaz_postep_finanse"
name="pokaz_postep_finanse"
data-group="postepy"
{% if zbiorka %}{% if zbiorka.pokaz_postep_finanse %}checked{% endif %}{% else %}checked{% endif %}
>
<label class="form-check-label" for="pokaz_postep_finanse">Pokaż postęp: Finanse</label>
</div>
</div>
</div>
<div class="col-12 col-md-4">
<div class="form-check form-switch">
<input
class="form-check-input"
type="checkbox"
id="pokaz_postep_pozycje"
name="pokaz_postep_pozycje"
data-group="postepy"
{% if zbiorka %}{% if zbiorka.pokaz_postep_pozycje %}checked{% endif %}{% else %}checked{% endif %}
>
<label class="form-check-label" for="pokaz_postep_pozycje">Pokaż postęp: Zakupy (liczba)</label>
</div>
</div>
<div class="col-12 col-md-4">
<div class="form-check form-switch">
<input
class="form-check-input"
type="checkbox"
id="pokaz_postep_kwotowo"
name="pokaz_postep_kwotowo"
data-group="postepy"
{% if zbiorka %}{% if zbiorka.pokaz_postep_kwotowo %}checked{% endif %}{% else %}checked{% endif %}
>
<label class="form-check-label" for="pokaz_postep_kwotowo">Pokaż postęp: Zakupy (kwotowo)</label>
</div>
</div>
</div>
<!-- CTA -->
<div class="d-flex flex-wrap gap-2">
@@ -356,4 +362,5 @@
<script src="{{ url_for('static', filename='js/formularz_zbiorek.js') }}?v={{ APP_VERSION }}"></script>
<script src="{{ url_for('static', filename='js/produkty_formularz.js') }}?v={{ APP_VERSION }}"></script>
<script src="{{ url_for('static', filename='js/kwoty_formularz.js') }}?v={{ APP_VERSION }}"></script>
<script src="{{ url_for('static', filename='js/przelaczniki_zabezpieczenie.js') }}?v={{ APP_VERSION }}"></script>
{% endblock %}