Travel Group / Programms

This commit is contained in:
Kevin Adametz 2021-08-20 18:21:38 +02:00
parent 9baa1a6233
commit a718baf971
23 changed files with 808 additions and 89 deletions

View file

@ -16,12 +16,23 @@
<div class="card-body">
<h4>Allgemein</h4>
<div class="form-row">
<div class="form-group col-sm-12">
<div class="form-group col-sm-10">
<label class="form-label" for="name">{{ __('Name') }} *</label>
{{ Form::text('name', $model->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required'=>true)) }}
</div>
<div class="form-group col-sm-2 pt-4">
<label class="switcher switcher-on-off">
{{ Form::hidden('active', 0) }}
{{ Form::checkbox('active', 1, $model->active, array('class'=>'switcher-input')) }}
<span class="switcher-indicator">
<span class="switcher-yes"></span>
<span class="switcher-no"></span>
</span>
<span class="switcher-label">sichtbar</span>
</label>
</div>
</div>
<div class="form-row">
{{-- <div class="form-row">
<div class="form-group col-sm-4">
<label class="form-label" for="min_persons">min. Personen</span></label>
<select class="custom-select" data-style="btn-light" name="min_persons" id="min_persons">
@ -63,32 +74,22 @@
{!! HTMLHelper::getRangeOptions($model->days_start, 60, ' Tag:e') !!}
</select>
</div>
<div class="form-group col-sm-4 pt-4">
<label class="switcher switcher-on-off">
{{ Form::hidden('active', 0) }}
{{ Form::checkbox('active', 1, $model->active, array('class'=>'switcher-input')) }}
<span class="switcher-indicator">
<span class="switcher-yes"></span>
<span class="switcher-no"></span>
</span>
<span class="switcher-label">sichtbar</span>
</label>
</div>
</div>
</div>--}}
<div class="form-row">
<div class="col-sm-12">
<hr>
</div>
<div class="form-group col-sm-12 col-md-6">
<div class="form-group col-sm-12 col-md-12">
<label class="form-label" for="description">Beschreibung</span></label>
{{ Form::textarea('description', $model->description, array('class'=>'form-control autoExpand', 'rows'=>2)) }}
</div>
<div class="form-group col-sm-12 col-md-6">
{{-- <div class="form-group col-sm-12 col-md-6">
<label class="form-label" for="highlights">Highlights</span></label>
{{ Form::textarea('highlights', $model->highlights, array('class'=>'form-control autoExpand', 'rows'=>2)) }}
</div>
</div>--}}
<div class="col-sm-12">
<hr>
</div>