remove some changes, move error bag
This commit is contained in:
@@ -739,7 +739,7 @@ class BulkAssetsController extends Controller
|
||||
return false;
|
||||
}
|
||||
|
||||
public function bulkEditForm(Request $request): View|RedirectResponse
|
||||
public function bulkEditForm(): View|RedirectResponse
|
||||
{
|
||||
$this->authorize('update', Asset::class);
|
||||
|
||||
@@ -765,8 +765,7 @@ class BulkAssetsController extends Controller
|
||||
->with('assets', $asset_ids)
|
||||
->with('statuslabel_list', Helper::statusLabelList())
|
||||
->with('models', $models->pluck(['model']))
|
||||
->with('modelNames', $modelNames)
|
||||
->with('bulk_asset_errors', session('bulk_asset_errors'));
|
||||
->with('modelNames', $modelNames);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
|
||||
<div class="col-md-8 col-md-offset-3" style="padding-bottom: 10px;">
|
||||
<label class="form-control">
|
||||
<input type="checkbox" name="{{ 'null'.$field->db_column_name() }}" value="1" {{ old('null'.$field->db_column_name()) ? 'checked' : '' }}>
|
||||
<input type="checkbox" name="{{ 'null'.$field->db_column_name() }}" value="1">
|
||||
{{ trans_choice('general.set_to_null', count($assets),['selection_count' => count($assets)]) }}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user