mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Use new id method
This commit is contained in:
parent
093c6652a8
commit
638ae9bdd5
|
@ -158,7 +158,7 @@
|
||||||
'data-placeholder' => trans('general.select_var', ['thing' => trans('general.import_type')]),
|
'data-placeholder' => trans('general.select_var', ['thing' => trans('general.import_type')]),
|
||||||
'placeholder' => '', //needed so that the form-helper will put an empty option first
|
'placeholder' => '', //needed so that the form-helper will put an empty option first
|
||||||
'data-minimum-results-for-search' => '-1', // Remove this if the list gets long enough that we need to search
|
'data-minimum-results-for-search' => '-1', // Remove this if the list gets long enough that we need to search
|
||||||
'data-livewire-component' => $_instance->id
|
'data-livewire-component' => $this->getId()
|
||||||
]) }}
|
]) }}
|
||||||
@if ($activeFile->import_type === 'asset' && $snipeSettings->auto_increment_assets == 0)
|
@if ($activeFile->import_type === 'asset' && $snipeSettings->auto_increment_assets == 0)
|
||||||
<p class="help-block">
|
<p class="help-block">
|
||||||
|
@ -170,7 +170,9 @@
|
||||||
|
|
||||||
<div class="form-group col-md-9 col-md-offset-3">
|
<div class="form-group col-md-9 col-md-offset-3">
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="update" data-livewire-component="{{ $_instance->id }}" wire:model.live="update">
|
<input type="checkbox" name="update"
|
||||||
|
data-livewire-component="{{ $this->getId() }}"
|
||||||
|
wire:model.live="update">
|
||||||
{{ trans('general.update_existing_values') }}
|
{{ trans('general.update_existing_values') }}
|
||||||
</label>
|
</label>
|
||||||
@if ($activeFile->import_type === 'asset' && $snipeSettings->auto_increment_assets == 1 && $update)
|
@if ($activeFile->import_type === 'asset' && $snipeSettings->auto_increment_assets == 1 && $update)
|
||||||
|
@ -180,12 +182,16 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="send_welcome" data-livewire-component="{{ $_instance->id }}" wire:model.live="send_welcome">
|
<input type="checkbox" name="send_welcome"
|
||||||
|
data-livewire-component="{{ $this->getId() }}"
|
||||||
|
wire:model.live="send_welcome">
|
||||||
{{ trans('general.send_welcome_email_to_users') }}
|
{{ trans('general.send_welcome_email_to_users') }}
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="run_backup" data-livewire-component="{{ $_instance->id }}" wire:model.live="run_backup">
|
<input type="checkbox" name="run_backup"
|
||||||
|
data-livewire-component="{{ $this->getId() }}"
|
||||||
|
wire:model.live="run_backup">
|
||||||
{{ trans('general.back_before_importing') }}
|
{{ trans('general.back_before_importing') }}
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
@ -231,7 +237,7 @@
|
||||||
'class' => 'mappings livewire-select2',
|
'class' => 'mappings livewire-select2',
|
||||||
'placeholder' => trans('general.importer.do_not_import'),
|
'placeholder' => trans('general.importer.do_not_import'),
|
||||||
'style' => 'min-width: 100%',
|
'style' => 'min-width: 100%',
|
||||||
'data-livewire-component' => $_instance->id
|
'data-livewire-component' => $this->getId()
|
||||||
],[
|
],[
|
||||||
'-' => ['disabled' => true] // this makes the "-----" line unclickable
|
'-' => ['disabled' => true] // this makes the "-----" line unclickable
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue