2015-05-01 16:17:17 -05:00
|
|
|
{% if type == 'create' %}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="{{ name }}_return_to_form" class="col-sm-4 control-label">
|
2015-05-14 03:26:15 -05:00
|
|
|
{{ trans('form.returnHere') }}
|
2015-05-01 16:17:17 -05:00
|
|
|
</label>
|
2015-06-27 01:06:24 -05:00
|
|
|
|
2015-05-01 16:17:17 -05:00
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="radio">
|
|
|
|
<label>
|
2015-06-22 11:50:54 -05:00
|
|
|
{{ Form.checkbox('create_another', '1', false, {'id': name ~ '_return_to_form'}) }}
|
2015-05-14 03:26:15 -05:00
|
|
|
{{ trans('form.returnHereExplanation') }}
|
|
|
|
|
2015-05-01 16:17:17 -05: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">
|
2015-05-14 03:26:15 -05:00
|
|
|
{{ trans('form.returnHere') }}
|
2015-05-01 16:17:17 -05:00
|
|
|
</label>
|
2015-06-27 01:06:24 -05:00
|
|
|
|
2015-05-01 16:17:17 -05:00
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="radio"><label>
|
2015-07-05 02:05:51 -05:00
|
|
|
{{ Form.checkbox('return_to_edit', '1', Input.old('return_to_edit') == '1', {'id': name ~ '_return_to_edit'}) }}
|
2015-05-14 03:26:15 -05:00
|
|
|
{{ trans('form.returnHereUpdateExplanation') }}
|
2015-05-01 16:17:17 -05:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-05 05:51:57 -05:00
|
|
|
{% endif %}
|