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

32 lines
1003 B
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>
<div class="col-sm-8">
<div class="radio">
<label>
{{ Form.checkbox('create_another', '1') }}
{{ 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>
<div class="col-sm-8">
<div class="radio"><label>
{{ Form.checkbox('return_to_edit', '1', Input.old('return_to_edit') == '1') }}
{{ trans('form.returnHereUpdateExplanation') }}
2015-05-01 23:17:17 +02:00
</label>
</div>
</div>
</div>
{% endif %}