diff --git a/resources/views/hardware/requested.blade.php b/resources/views/hardware/requested.blade.php
index 969bf991a674..7506a7c55160 100644
--- a/resources/views/hardware/requested.blade.php
+++ b/resources/views/hardware/requested.blade.php
@@ -100,18 +100,11 @@ class="table table-striped snipe-table"
{{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }}
- {{ Form::open([
- 'method' => 'POST',
- 'route' => [
- 'account/request-item',
- $request->itemType(),
- $request->requestable->id,
- true,
- $request->requestingUser()->id
- ],
- ]) }}
+
{{ trans('button.cancel') }}
- {{ Form::close() }}
+
@if ($request->itemType() == "asset")
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index a0c8c862ce1f..4c35753e38b5 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -249,18 +249,18 @@
@endcan
- {{ Form::open([
- 'method' => 'POST',
- 'route' => ['hardware/bulkedit'],
- 'class' => 'form-inline',
- 'target'=>'_blank',
- 'id' => 'bulkForm']) }}
+
model ? ' disabled' : '') }}{!! (!$asset->model ? ' data-tooltip="true" title="'.trans('admin/hardware/general.model_invalid').'"' : '') !!}>
{{ trans_choice('button.generate_labels', 1) }}
- {{ Form::close() }}
+
@can('delete', $asset)
@@ -1227,11 +1227,11 @@
@if ($asset->assignedAssets->count() > 0)
- {{ Form::open([
- 'method' => 'POST',
- 'route' => ['hardware/bulkedit'],
- 'class' => 'form-inline',
- 'id' => 'bulkForm']) }}
+
{{ trans('general.bulk_actions')}}
@@ -1269,7 +1269,7 @@ class="table table-striped snipe-table"
- {{ Form::close() }}
+
@else
@@ -1417,4 +1417,4 @@ class="table table-striped snipe-table"
@include ('partials.bootstrap-table')
-@stop
\ No newline at end of file
+@stop
diff --git a/resources/views/modals/upload-file.blade.php b/resources/views/modals/upload-file.blade.php
index c5816bf175f4..e28fecee390c 100644
--- a/resources/views/modals/upload-file.blade.php
+++ b/resources/views/modals/upload-file.blade.php
@@ -6,12 +6,11 @@
×
{{ trans('general.file_upload') }}
- {{ Form::open([
- 'method' => 'POST',
- 'route' => ['upload/'.$item_type, $item_id],
- 'files' => true,
- 'class' => 'form-horizontal' ]) }}
-
+
diff --git a/resources/views/models/index.blade.php b/resources/views/models/index.blade.php
index cc2986cb876a..6f3f5e78df44 100755
--- a/resources/views/models/index.blade.php
+++ b/resources/views/models/index.blade.php
@@ -62,7 +62,6 @@ class="table table-striped snipe-table"
- {{ Form::close() }}
diff --git a/resources/views/models/view.blade.php b/resources/views/models/view.blade.php
index f26b9babd4b1..3d53745513af 100755
--- a/resources/views/models/view.blade.php
+++ b/resources/views/models/view.blade.php
@@ -98,7 +98,6 @@ class="table table-striped snipe-table"
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
}'>
- {{ Form::close() }}
diff --git a/resources/views/partials/asset-bulk-actions.blade.php b/resources/views/partials/asset-bulk-actions.blade.php
index 992fb52bba10..ae1155131c42 100644
--- a/resources/views/partials/asset-bulk-actions.blade.php
+++ b/resources/views/partials/asset-bulk-actions.blade.php
@@ -1,10 +1,9 @@
-{{ Form::open([
- 'method' => 'POST',
- 'route' => ['hardware/bulkedit'],
- 'class' => 'form-inline',
- 'id' => (isset($id_formname)) ? $id_formname : 'assetsBulkForm',
- ]) }}
+
{{-- The sort and order will only be used if the cookie is actually empty (like on first-use) --}}
@@ -34,5 +33,5 @@
{{ trans('button.go') }}
- {{ Form::close() }}
+
diff --git a/resources/views/partials/locations-bulk-actions.blade.php b/resources/views/partials/locations-bulk-actions.blade.php
index 228a68dfbab6..8cc9bf9a4c74 100644
--- a/resources/views/partials/locations-bulk-actions.blade.php
+++ b/resources/views/partials/locations-bulk-actions.blade.php
@@ -1,10 +1,10 @@
@can('delete', \App\Models\Location::class)
@endcan
diff --git a/resources/views/partials/models-bulk-actions.blade.php b/resources/views/partials/models-bulk-actions.blade.php
index 8fca921ae1b7..340fa1fd6b92 100644
--- a/resources/views/partials/models-bulk-actions.blade.php
+++ b/resources/views/partials/models-bulk-actions.blade.php
@@ -1,9 +1,9 @@
- {{ Form::open([
- 'method' => 'POST',
- 'route' => ['models.bulkedit.index'],
- 'class' => 'form-inline',
- 'id' => 'modelsBulkForm']) }}
+
@if (request('status')!='deleted')
@can('delete', \App\Models\AssetModel::class)
@@ -17,7 +17,7 @@
@endcan
@endif
- {{ Form::close() }}
+
diff --git a/resources/views/partials/users-bulk-actions.blade.php b/resources/views/partials/users-bulk-actions.blade.php
index 2d371157dbd6..821c212d995d 100644
--- a/resources/views/partials/users-bulk-actions.blade.php
+++ b/resources/views/partials/users-bulk-actions.blade.php
@@ -3,11 +3,11 @@
@if (request('status')!='deleted')
- {{ Form::open([
- 'method' => 'POST',
- 'route' => ['users/bulkedit'],
- 'class' => 'form-inline',
- 'id' => 'usersBulkForm']) }}
+
@@ -28,7 +28,7 @@
{{ trans('button.go') }}
- {{ Form::close() }}
+
@endif
diff --git a/resources/views/reports/activity.blade.php b/resources/views/reports/activity.blade.php
index d2e0107649f5..f9737fbc7231 100644
--- a/resources/views/reports/activity.blade.php
+++ b/resources/views/reports/activity.blade.php
@@ -7,13 +7,13 @@
@stop
@section('header_right')
- {{ Form::open(['method' => 'post', 'class' => 'form-horizontal']) }}
- {{csrf_field()}}
+
+
{{ trans('general.download_all') }}
- {{ Form::close() }}
+
@stop
{{-- Page content --}}
diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php
index 3ab43ed6b3b5..48a9254639da 100644
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@ -35,13 +35,11 @@
- {{ Form::open([
- 'method' => 'post',
- 'class' => 'form-horizontal',
- 'id' => 'custom-report-form',
- 'url' => request()->routeIs('report-templates.edit') ? route('report-templates.update', $template) : '/reports/custom',
- ]) }}
- {{csrf_field()}}
+
@@ -610,7 +608,7 @@ class="btn btn-sm btn-danger delete-asset"
@endif
- {{ Form::close() }}
+
diff --git a/resources/views/reports/unaccepted_assets.blade.php b/resources/views/reports/unaccepted_assets.blade.php
index b26539700b6a..b7fb7f6b36aa 100644
--- a/resources/views/reports/unaccepted_assets.blade.php
+++ b/resources/views/reports/unaccepted_assets.blade.php
@@ -19,10 +19,9 @@
@endif
- {{ Form::open(['method' => 'post', 'class' => 'form-horizontal']) }}
- {{csrf_field()}}
+
{{ trans('general.download_all') }}
- {{ Form::close() }}
+
@stop
diff --git a/resources/views/settings/alerts.blade.php b/resources/views/settings/alerts.blade.php
index ddca5c8158f4..cdb22e7abfe1 100644
--- a/resources/views/settings/alerts.blade.php
+++ b/resources/views/settings/alerts.blade.php
@@ -176,7 +176,7 @@
- {{Form::close()}}
+
@stop
diff --git a/resources/views/settings/asset_tags.blade.php b/resources/views/settings/asset_tags.blade.php
index 020d97a7561a..df704cfe1371 100644
--- a/resources/views/settings/asset_tags.blade.php
+++ b/resources/views/settings/asset_tags.blade.php
@@ -21,9 +21,12 @@
- {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
-
- {{csrf_field()}}
+
- {{Form::close()}}
+
@stop
diff --git a/resources/views/settings/backups.blade.php b/resources/views/settings/backups.blade.php
index 6313a6e404ee..3648311b74f8 100644
--- a/resources/views/settings/backups.blade.php
+++ b/resources/views/settings/backups.blade.php
@@ -158,13 +158,12 @@ class="btn btn-warning btn-sm restore-backup {{ (config('app.lock_passwords')) ?
@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
+
+
@@ -193,8 +192,8 @@ class="btn btn-warning btn-sm restore-backup {{ (config('app.lock_passwords')) ?
-
- {{ Form::close() }}
+
+
@endif
diff --git a/resources/views/settings/branding.blade.php b/resources/views/settings/branding.blade.php
index c586917ef534..eeabe42888f4 100644
--- a/resources/views/settings/branding.blade.php
+++ b/resources/views/settings/branding.blade.php
@@ -21,9 +21,15 @@
- {{ Form::open(['method' => 'POST', 'files' => true, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form', 'id' => 'create-form' ]) }}
-
- {{csrf_field()}}
+
+
- {{Form::close()}}
+
@stop
diff --git a/resources/views/settings/general.blade.php b/resources/views/settings/general.blade.php
index 1de5d4035d85..82f8e2c1baba 100644
--- a/resources/views/settings/general.blade.php
+++ b/resources/views/settings/general.blade.php
@@ -422,7 +422,7 @@
- {{ Form::close() }}
+
@stop
diff --git a/resources/views/settings/google.blade.php b/resources/views/settings/google.blade.php
index 83e88b936f13..f19d3eef485f 100644
--- a/resources/views/settings/google.blade.php
+++ b/resources/views/settings/google.blade.php
@@ -16,9 +16,12 @@
- {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
-
- {{csrf_field()}}
+
- {{Form::close()}}
+
@stop
diff --git a/resources/views/settings/labels.blade.php b/resources/views/settings/labels.blade.php
index fa8c5dc858b2..61fce7c34c39 100644
--- a/resources/views/settings/labels.blade.php
+++ b/resources/views/settings/labels.blade.php
@@ -20,9 +20,13 @@
}
- {{ Form::open(['id' => 'settingsForm', 'method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
-
- {{csrf_field()}}
+
@@ -342,7 +346,7 @@ class="table table-striped snipe-table"
- {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
+
{{csrf_field()}}
@@ -513,7 +517,7 @@ class="table table-striped snipe-table"
- {{Form::close()}}
+
@stop
diff --git a/resources/views/settings/ldap.blade.php b/resources/views/settings/ldap.blade.php
index 5b483f48a2ea..999d8fa49ff5 100644
--- a/resources/views/settings/ldap.blade.php
+++ b/resources/views/settings/ldap.blade.php
@@ -829,7 +829,7 @@
- {{Form::close()}}
+
@endsection
diff --git a/resources/views/settings/localization.blade.php b/resources/views/settings/localization.blade.php
index d8f3e436e30e..da7dd8be531e 100644
--- a/resources/views/settings/localization.blade.php
+++ b/resources/views/settings/localization.blade.php
@@ -21,9 +21,12 @@
- {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
-
- {{csrf_field()}}
+
- {{Form::close()}}
+
@stop
diff --git a/resources/views/settings/purge-form.blade.php b/resources/views/settings/purge-form.blade.php
index 86ad28fc5068..7ba65b91199d 100644
--- a/resources/views/settings/purge-form.blade.php
+++ b/resources/views/settings/purge-form.blade.php
@@ -22,9 +22,12 @@
{{ trans('admin/settings/general.purge') }}
- {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
-
- {{csrf_field()}}
+
{{ trans('admin/settings/general.confirm_purge_help') }}
@@ -45,11 +48,10 @@
- {{ Form::close() }}
+
- {{Form::close()}}
@stop
diff --git a/resources/views/settings/saml.blade.php b/resources/views/settings/saml.blade.php
index 9349023fc814..f770d37fae1b 100644
--- a/resources/views/settings/saml.blade.php
+++ b/resources/views/settings/saml.blade.php
@@ -21,9 +21,13 @@
- {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'false', 'class' => 'form-horizontal', 'role' => 'form']) }}
-
- {{csrf_field()}}
+
+
@@ -187,7 +191,7 @@
- {{Form::close()}}
+
@stop
diff --git a/resources/views/settings/security.blade.php b/resources/views/settings/security.blade.php
index a51c86fccbd5..f254be88b4a1 100644
--- a/resources/views/settings/security.blade.php
+++ b/resources/views/settings/security.blade.php
@@ -190,6 +190,6 @@
- {{Form::close()}}
+
@stop
diff --git a/resources/views/statuslabels/view.blade.php b/resources/views/statuslabels/view.blade.php
index a15fc8edd183..a86fa8234ed6 100644
--- a/resources/views/statuslabels/view.blade.php
+++ b/resources/views/statuslabels/view.blade.php
@@ -40,7 +40,6 @@ class="table table-striped snipe-table"
- {{ Form::close() }}
diff --git a/resources/views/users/index.blade.php b/resources/views/users/index.blade.php
index 28cbc30f70a6..a26a8d0882f4 100755
--- a/resources/views/users/index.blade.php
+++ b/resources/views/users/index.blade.php
@@ -68,7 +68,6 @@ class="table table-striped snipe-table"
- {{ Form::close() }}
@@ -82,4 +81,4 @@ class="table table-striped snipe-table"
@include ('partials.bootstrap-table')
-@stop
\ No newline at end of file
+@stop