Initial Commit

This commit is contained in:
dann4624
2022-09-28 09:38:08 +02:00
parent cac476f80f
commit 2d04a269e6
355 changed files with 52166 additions and 25 deletions
@@ -0,0 +1,27 @@
<div class="mb-3 row">
<label for="building_input" class="col-2 col-form-label fw-bold">@lang('building') : </label>
<div class="col-10">
<select name="building_id" id="building_input" class="form-select">
@foreach($buildings as $building)
<option
value="{{$building->id}}"
@if(old('building_id') !== null)
@if($building->id == old('building_id'))
selected
@endif
@else
@if(isset($data))
@if($building->id == $data->building->id)
selected
@endif
@endif
@endif
>
{{$building->name}}
</option>
@endforeach
</select>
</div>
</div>