mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Streamlined inventory input field hints
This commit is contained in:
parent
0bbc06a70c
commit
69e21fd483
@ -16,9 +16,14 @@
|
||||
data-next-input-selector="{{ $nextInputSelector }}"
|
||||
data-prefill-by-name="{{ $prefillByName }}"
|
||||
data-prefill-by-id="{{ $prefillById }}">
|
||||
<label for="shopping_location_id">{{ $__t($label) }} <span @if(!empty($hintId))id="{{ $hintId }}"
|
||||
@endif
|
||||
class="small text-muted">{{ $hint }}</span></label>
|
||||
<label for="shopping_location_id">{{ $__t($label) }}
|
||||
@if(!empty($hint))
|
||||
<i class="fa-solid fa-question-circle text-muted"
|
||||
data-toggle="tooltip"
|
||||
data-trigger="hover click"
|
||||
title="{{ $hint }}"></i>
|
||||
@endif
|
||||
</label>
|
||||
<select class="form-control shopping-location-combobox"
|
||||
id="shopping_location_id"
|
||||
name="shopping_location_id"
|
||||
|
@ -91,7 +91,8 @@
|
||||
|
||||
@include('components.shoppinglocationpicker', array(
|
||||
'label' => 'Store',
|
||||
'shoppinglocations' => $shoppinglocations
|
||||
'shoppinglocations' => $shoppinglocations,
|
||||
'hint' => $__t('This will apply to added products'),
|
||||
))
|
||||
@else
|
||||
<input type="hidden"
|
||||
|
Loading…
x
Reference in New Issue
Block a user