Migrate Form::open and Form::close on backups page

This commit is contained in:
Marcus Moore 2025-02-12 13:12:45 -08:00
parent c422737525
commit 8bdd80e236
No known key found for this signature in database

View file

@ -158,12 +158,8 @@
@if (config('app.lock_passwords')===true)
<p class="alert alert-warning"><i class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p>
@else
{{ Form::open([
'method' => 'POST',
'route' => 'settings.backups.upload',
'files' => true,
'class' => 'form-horizontal' ]) }}
<form method="POST" action="{{ route('settings.backups.upload') }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
@csrf
@ -194,7 +190,7 @@
</div>
{{ Form::close() }}
</form>
@endif
</div>
</div>