Reordered input fields

This commit is contained in:
Bernd Bestel 2020-11-14 11:07:36 +01:00
parent b267295e86
commit 16b17b25a4
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 28 additions and 28 deletions

View File

@ -93,6 +93,19 @@
</div>
@endif
<div class="form-group">
<div class="custom-control custom-checkbox">
<input class="form-check-input custom-control-input"
type="checkbox"
id="spoiled"
name="spoiled"
value="1">
<label class="form-check-label custom-control-label"
for="spoiled">{{ $__t('Spoiled') }}
</label>
</div>
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input class="form-check-input custom-control-input"
@ -115,19 +128,6 @@
</select>
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input class="form-check-input custom-control-input"
type="checkbox"
id="spoiled"
name="spoiled"
value="1">
<label class="form-check-label custom-control-label"
for="spoiled">{{ $__t('Spoiled') }}
</label>
</div>
</div>
@if (GROCY_FEATURE_FLAG_RECIPES)
@include('components.recipepicker', array(
'recipes' => $recipes,

View File

@ -47,6 +47,21 @@
class="text-info font-italic d-none">' . $__t('Tare weight handling enabled - please weigh the whole container, the amount to be posted will be automatically calculcated') . '</div>'
))
<div class="form-group">
<label for="location_id_to">{{ $__t('To location') }}</label>
<select required
class="form-control location-combobox"
id="location_id_to"
name="location_id_to">
<option></option>
@foreach($locations as $location)
<option value="{{ $location->id }}"
data-is-freezer="{{ $location->is_freezer }}">{{ $location->name }}</option>
@endforeach
</select>
<div class="invalid-feedback">{{ $__t('A location is required') }}</div>
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input class="form-check-input custom-control-input"
@ -69,21 +84,6 @@
</select>
</div>
<div class="form-group">
<label for="location_id_to">{{ $__t('To location') }}</label>
<select required
class="form-control location-combobox"
id="location_id_to"
name="location_id_to">
<option></option>
@foreach($locations as $location)
<option value="{{ $location->id }}"
data-is-freezer="{{ $location->is_freezer }}">{{ $location->name }}</option>
@endforeach
</select>
<div class="invalid-feedback">{{ $__t('A location is required') }}</div>
</div>
<button id="save-transfer-button"
class="btn btn-success">{{ $__t('OK') }}</button>