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

35 lines
1.0 KiB
Twig
Raw Normal View History

2015-05-01 23:17:17 +02:00
{% if type == 'create' %}
<div class="form-group">
<label for="{{ name }}_return_to_form" class="col-sm-4 control-label">
{{ trans('form.returnHere') }}
2015-05-01 23:17:17 +02:00
</label>
2015-06-27 08:06:24 +02:00
2015-05-01 23:17:17 +02:00
<div class="col-sm-8">
2018-01-03 19:17:30 +01:00
<div class="checkbox">
2015-05-01 23:17:17 +02:00
<label>
2015-06-22 18:50:54 +02:00
{{ Form.checkbox('create_another', '1', false, {'id': name ~ '_return_to_form'}) }}
{{ trans('form.returnHereExplanation') }}
2015-05-01 23:17:17 +02:00
</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') }}
2015-05-01 23:17:17 +02:00
</label>
2015-06-27 08:06:24 +02:00
2015-05-01 23:17:17 +02:00
<div class="col-sm-8">
2018-01-06 14:19:30 +01:00
<div class="checkbox"><label>
{{ Form.checkbox('return_to_edit', '1', null, {'id': name ~ '_return_to_edit'}) }}
{{ trans('form.returnHereUpdateExplanation') }}
2015-05-01 23:17:17 +02:00
</label>
</div>
</div>
</div>
{% endif %}
2016-04-29 17:29:13 +02:00