Füge Option für lesbares CSV beim Export hinzu (APS-3)

This commit is contained in:
Marcel Diegelmann 2025-09-08 13:32:34 +02:00
parent b823d7d613
commit c79fc47c1e
17 changed files with 434 additions and 16 deletions

View file

@ -1,6 +1,6 @@
<form class="form-horizontal" method="post" action="{{ path }}" data-turbo="false" data-turbo-frame="_top">
<form class="form-horizontal" method="post" action="{{ path }}" data-turbo="false" data-turbo-frame="_top" {{ stimulus_controller('elements/toggle_visibility', {classes: ['format', 'level', 'include_children']}) }}>
<div class="row">
<div class="row format">
<label class="col-form-label col-md-3">{% trans %}export.format{% endtrans %}</label>
<div class="col-md-9">
<select class="form-select" name="format">
@ -12,7 +12,7 @@
</div>
</div>
<div class="row mt-2">
<div class="row mt-2 level">
<label class="col-form-label col-md-3">{% trans %}export.level{% endtrans %}</label>
<div class="col-md-9">
<select class="form-select" name="level">
@ -23,7 +23,7 @@
</div>
</div>
<div class="row mt-2">
<div class="row mt-2 include_children">
<div class="offset-md-3 col-sm">
<div class="form-check">
<input class="form-check-input form-check-input" name="include_children" id="include_children" type="checkbox" checked>
@ -34,6 +34,17 @@
</div>
</div>
<div class="row mt-2">
<div class="offset-md-3 col-sm">
<div class="form-check">
<input class="form-check-input form-check-input" name="readable" id="readable" type="checkbox" data-action="change->toggle-visibility#toggle">
<label class="form-check-label form-check-label" for="readable">
{% trans %}export.readable{% endtrans %}
</label>
</div>
</div>
</div>
<div class="row mt-2">
<div class="offset-sm-3 col-sm">
<button type="submit" class="btn btn-primary">{% trans %}export.btn{% endtrans %}</button>