fix: replace deprecated package

This commit is contained in:
James Cole
2023-06-04 15:16:17 +02:00
parent 0438fb5a2e
commit 3d02468828
38 changed files with 327 additions and 512 deletions

View File

@@ -7,7 +7,7 @@
<div class="col-sm-8">
<div class="checkbox">
<label>
{{ Form.checkbox('create_another', '1', false, {'id': name ~ '_return_to_form'}) }}
{{ Html.checkbox('create_another', false).id(name ~ '_return_to_form') }}
{{ trans('form.returnHereExplanation') }}
</label>
@@ -24,7 +24,7 @@
<div class="col-sm-8">
<div class="checkbox"><label>
{{ Form.checkbox('return_to_edit', '1', null, {'id': name ~ '_return_to_edit'}) }}
{{ Html.checkbox('return_to_edit', null).id(name ~ '_return_to_edit') }}
{{ trans('form.returnHereUpdateExplanation') }}
</label>
</div>