diff --git a/resources/views/settings/asset_tags.blade.php b/resources/views/settings/asset_tags.blade.php index 2f18cdfd57..6b25eb520e 100644 --- a/resources/views/settings/asset_tags.blade.php +++ b/resources/views/settings/asset_tags.blade.php @@ -21,7 +21,7 @@ - {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} +
{{csrf_field()}} @@ -106,6 +106,6 @@ - {{Form::close()}} +
@stop diff --git a/resources/views/settings/backups.blade.php b/resources/views/settings/backups.blade.php index a5d06738bf..300c8c9dab 100644 --- a/resources/views/settings/backups.blade.php +++ b/resources/views/settings/backups.blade.php @@ -158,12 +158,8 @@ @if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@else - - {{ Form::open([ - 'method' => 'POST', - 'route' => 'settings.backups.upload', - 'files' => true, - 'class' => 'form-horizontal' ]) }} + +
@csrf @@ -194,7 +190,7 @@ - {{ Form::close() }} +
@endif diff --git a/resources/views/settings/branding.blade.php b/resources/views/settings/branding.blade.php index 8211481efd..f37d6685b2 100644 --- a/resources/views/settings/branding.blade.php +++ b/resources/views/settings/branding.blade.php @@ -21,7 +21,17 @@ - {{ Form::open(['method' => 'POST', 'files' => true, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form', 'id' => 'create-form' ]) }} +
{{csrf_field()}} @@ -340,7 +350,7 @@ - {{Form::close()}} +
@stop diff --git a/resources/views/settings/general.blade.php b/resources/views/settings/general.blade.php index 1c751ed326..fb85908761 100644 --- a/resources/views/settings/general.blade.php +++ b/resources/views/settings/general.blade.php @@ -366,7 +366,7 @@ - +
@@ -374,9 +374,9 @@
{{ Form::select('depreciation_method', array( - 'default' => 'Linear (default)', - 'half_1' => 'Half-year convention, always applied', - 'half_2' => 'Half-year convention, applied with condition', + 'default' => 'Linear (default)', + 'half_1' => 'Half-year convention, always applied', + 'half_2' => 'Half-year convention, applied with condition', ), old('username_format', $setting->depreciation_method), ['class' =>'select2', 'style' => 'width: 80%']) }}
@@ -423,7 +423,7 @@ - {{ Form::close() }} + @stop diff --git a/resources/views/settings/google.blade.php b/resources/views/settings/google.blade.php index c864b013cb..64cca8d1ab 100644 --- a/resources/views/settings/google.blade.php +++ b/resources/views/settings/google.blade.php @@ -16,7 +16,7 @@ - {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} +
{{csrf_field()}} @@ -121,6 +121,6 @@ - {{Form::close()}} +
@stop diff --git a/resources/views/settings/labels.blade.php b/resources/views/settings/labels.blade.php index 0a32fcbadd..489c6ac584 100644 --- a/resources/views/settings/labels.blade.php +++ b/resources/views/settings/labels.blade.php @@ -20,7 +20,7 @@ } - {{ Form::open(['id' => 'settingsForm', 'method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} +
{{csrf_field()}} @@ -348,8 +348,6 @@ } - - {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}} @@ -520,7 +518,7 @@ - {{Form::close()}} +
@stop