Travel Guide Frontend Backend

This commit is contained in:
Kevin Adametz 2020-08-07 16:00:55 +02:00
parent e6cc042aee
commit 0857a34766
681 changed files with 6680 additions and 1689 deletions

View file

@ -34,6 +34,7 @@
<tr>
<th style="max-width: 60px;">&nbsp;</th>
<th>{{__('Name')}}</th>
<th>{{__('Beschreibung')}}</th>
<th></th>
</tr>
</thead>
@ -48,6 +49,8 @@
</button>
</td>
<td>{{ $value->name }}</td>
<td>{{ substr($value->description, 0, 50) }} ...</td>
<td><a class="text-danger" href="{{ route('cms_content_author_delete', [$value->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
</tr>

View file

@ -13,10 +13,14 @@
</div>
<div class="modal-body">
<div class="form-row">
<div class="form-group col">
<div class="form-group col-12">
<label for="name" class="form-label">{{ __('Name') }}</label>
{{ Form::text('name', $value->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'required')) }}
</div>
<div class="form-group col-12">
<label for="description" class="form-label">{{ __('Beschreibung') }}</label>
{{ Form::textarea('description', $value->description, array('class'=>'form-control')) }}
</div>
</div>