{!! Form::open(['url' => $url, 'class' => 'modal-content']) !!}
<input type="hidden" name="id" value="{{ $value->id }}">
<input type="hidden" name="model" value="{{$data['model']}}">
<input type="hidden" name="action" value="{{$data['action']}}">
<input type="hidden" name="request" value="{{$data['request']}}">
<input type="hidden" name="name" value="add">
<div class="modal-header">
    <h5 class="modal-title">
        {{$data['title']}}
    </h5>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
</div>
<div class="modal-body">

    @if(!$data['request'])
        <div class="form-row">
            <div class="form-group col">
                <label for="modal_travel_guide_id" class="form-label">Reiseführer Seite (required)</label>
                <select class="selectpicker" name="travel_guide_id" id="modal_travel_guide_id"
                        data-style="btn-light" data-live-search="true"  required>
                    {!! \App\Models\TravelGuide::getSiteOptions(0) !!}
                </select>
            </div>
        </div>
    @endif
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal">close</button>
    <button type="submit" class="btn btn-primary"><i class="ion ion-md-save"></i> save</button>
</div>
{!! Form::close() !!}
