Tree Travel Guide
This commit is contained in:
parent
a1ca534f55
commit
1f340e96fa
78 changed files with 4133 additions and 1027 deletions
45
resources/views/iq/modal/tree-node.blade.php
Normal file
45
resources/views/iq/modal/tree-node.blade.php
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{!! 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="{!! array_to_json($data['request']) !!}">
|
||||
<input type="hidden" name="tree_id" value="{{$model->id}}">
|
||||
|
||||
<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">
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label class="custom-control custom-checkbox float-right">
|
||||
{!! Form::checkbox('active', 1, $value->active, ['class'=>'custom-control-input']) !!}
|
||||
<span class="custom-control-label">{{__('aktiv')}}</span>
|
||||
</label>
|
||||
<label for="name" class="form-label">Name (required)</label>
|
||||
{{ Form::text('name', $value->name, array('placeholder'=>'', 'class'=>'form-control', 'required'=>'true')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="identifier" class="form-label">Slug</label>
|
||||
{{ Form::text('identifier', $value->identifier, array('placeholder'=>'', 'class'=>'form-control')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group mb-1">
|
||||
<label class="form-label" for="description">Description</label>
|
||||
{{ Form::textarea('description', $value->description, array('class'=>'form-control', 'rows'=>2)) }}
|
||||
</div>
|
||||
|
||||
</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() !!}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue