Files
firefly-iii/resources/views/form/options.twig

35 lines
1.0 KiB
Twig
Raw Normal View History

2022-01-29 14:15:34 +01:00
{% if type == 'create' %}
<div class="form-group">
<label for="{{ name }}_return_to_form" class="col-sm-4 control-label">
{{ trans('form.returnHere') }}
</label>
<div class="col-sm-8">
<div class="checkbox">
<label>
2023-09-05 19:34:46 +02:00
{{ Html.checkbox('create_another').id(name ~ '_return_to_form') }}
2022-01-29 14:15:34 +01:00
{{ trans('form.returnHereExplanation') }}
</label>
</div>
</div>
</div>
{% endif %}
{% if type == 'update' %}
<div class="form-group">
<label for="{{ name }}_return_to_edit" class="col-sm-4 control-label">
{{ trans('form.returnHere') }}
</label>
<div class="col-sm-8">
<div class="checkbox"><label>
2023-06-04 15:16:17 +02:00
{{ Html.checkbox('return_to_edit', null).id(name ~ '_return_to_edit') }}
2022-01-29 14:15:34 +01:00
{{ trans('form.returnHereUpdateExplanation') }}
</label>
</div>
</div>
</div>
{% endif %}