mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Applied .blade.php formatting rules
This commit is contained in:
@@ -9,30 +9,35 @@
|
||||
<div class="col-xs-12 col-md-6 col-xl-4 pb-3">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<hr>
|
||||
<form id="batterytracking-form" novalidate>
|
||||
<form id="batterytracking-form"
|
||||
novalidate>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="battery_id">{{ $__t('Battery') }}</label>
|
||||
<select class="form-control combobox" id="battery_id" name="battery_id" required>
|
||||
<select class="form-control combobox"
|
||||
id="battery_id"
|
||||
name="battery_id"
|
||||
required>
|
||||
<option value=""></option>
|
||||
@foreach($batteries as $battery)
|
||||
<option value="{{ $battery->id }}">{{ $battery->name }}</option>
|
||||
<option value="{{ $battery->id }}">{{ $battery->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
<div class="invalid-feedback">{{ $__t('You have to select a battery') }}</div>
|
||||
</div>
|
||||
|
||||
@include('components.datetimepicker', array(
|
||||
'id' => 'tracked_time',
|
||||
'label' => 'Tracked time',
|
||||
'format' => 'YYYY-MM-DD HH:mm:ss',
|
||||
'initWithNow' => true,
|
||||
'limitEndToNow' => true,
|
||||
'limitStartToNow' => false,
|
||||
'invalidFeedback' => $__t('This can only be before now')
|
||||
'id' => 'tracked_time',
|
||||
'label' => 'Tracked time',
|
||||
'format' => 'YYYY-MM-DD HH:mm:ss',
|
||||
'initWithNow' => true,
|
||||
'limitEndToNow' => true,
|
||||
'limitStartToNow' => false,
|
||||
'invalidFeedback' => $__t('This can only be before now')
|
||||
))
|
||||
|
||||
<button id="save-batterytracking-button" class="btn btn-success">{{ $__t('OK') }}</button>
|
||||
<button id="save-batterytracking-button"
|
||||
class="btn btn-success">{{ $__t('OK') }}</button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user