mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Improved form spacing
This commit is contained in:
@@ -18,10 +18,18 @@
|
||||
data-disallow-all-product-workflows="{{ BoolToString($disallowAllProductWorkflows) }}"
|
||||
data-prefill-by-name="{{ $prefillByName }}"
|
||||
data-prefill-by-id="{{ $prefillById }}">
|
||||
<label for="product_id">
|
||||
{{ $__t($label) }} <i class="fas fa-barcode"></i>
|
||||
<label class="w-100"
|
||||
for="product_id">
|
||||
{{ $__t($label) }}
|
||||
@if(!$disallowAllProductWorkflows)
|
||||
<i class="fas fa-question-circle"
|
||||
data-toggle="tooltip"
|
||||
title="{{ $__t('Type a new product name or barcode and hit TAB or ENTER to start a workflow') }}"></i>
|
||||
@endif
|
||||
<span id="barcode-lookup-disabled-hint"
|
||||
class="small text-muted d-none"> {{ $__t('Barcode lookup is disabled') }}</span>
|
||||
class="small text-muted d-none float-right"> {{ $__t('Barcode lookup is disabled') }}</span>
|
||||
<i id="barcode-lookup-hint"
|
||||
class="fas fa-barcode float-right mt-1"></i>
|
||||
</label>
|
||||
<select class="form-control product-combobox barcodescanner-input"
|
||||
id="product_id"
|
||||
@@ -47,11 +55,8 @@
|
||||
<div class="invalid-feedback">{{ $__t('You have to select a product') }}</div>
|
||||
<div id="custom-productpicker-error"
|
||||
class="form-text text-danger d-none"></div>
|
||||
@if(!$disallowAllProductWorkflows)
|
||||
<div class="form-text text-info small">{{ $__t('Type a new product name or barcode and hit TAB to start a workflow') }}</div>
|
||||
@endif
|
||||
<div id="flow-info-addbarcodetoselection"
|
||||
class="form-text text-muted small d-none"><strong><span id="addbarcodetoselection"></span></strong> {{ $__t('will be added to the list of barcodes for the selected product on submit') }}</div>
|
||||
class="form-text text-info small d-none"><strong><span id="addbarcodetoselection"></span></strong> {{ $__t('will be added to the list of barcodes for the selected product on submit') }}</div>
|
||||
</div>
|
||||
|
||||
@include('components.barcodescanner')
|
||||
|
Reference in New Issue
Block a user