mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Reordered input fields
This commit is contained in:
parent
b267295e86
commit
16b17b25a4
@ -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,
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user