FIX: fix typos in template

This commit is contained in:
Michal Kváček
2017-03-13 13:50:26 +01:00
parent 1f633c3281
commit 78532a6832
2 changed files with 13 additions and 13 deletions
@@ -12,7 +12,7 @@
height: 550, height: 550,
removePlugins: 'about,scayt', //elementspath removePlugins: 'about,scayt', //elementspath
extraPlugins: 'justify', extraPlugins: 'justify',
enterMode: CKEDITOR.ENTER_DIV, enterMode: CKEDITOR.ENTER_P,
toolbarGroups: [ toolbarGroups: [
{name: 'undo', groups: ['undo']}, {name: 'undo', groups: ['undo']},
{name: 'styles'}, {name: 'styles'},
@@ -1,20 +1,20 @@
@if (isset($page->hotelsCategory)) @if (isset($page->hotelsCategory))
<div class="hotels"> <div class="hotels">
@foreach($page->hotelsCategory->content as $i => $subpage) @foreach($page->hotelsCategory->content as $i => $subpage)
<div class="row hotel"> <div class="row hotel">
<div class="column large-3 medium-4"> <div class="column large-3 medium-4">
@if(!empty($subpage->titlePhoto)) @if(!empty($subpage->titlePhoto))
<img class="thumbnail" src="@thumbnail($subpage->titlePhoto)" alt="{{$subpage->title}}"> <img class="thumbnail" src="@thumbnail($subpage->titlePhoto)" alt="{{$subpage->title}}">
@endif @endif
</div> </div>
<div class="column large-9 medium-8"> <div class="column large-9 medium-8">
<h4> <h4>
<a href="{{route('page.content', ['url' => $subpage->url])}}">{{$subpage->title}}</a> <a href="{{route('page.content', ['url' => $subpage->url])}}">{{$subpage->title}}</a>
</h4> </h4>
{!! $subpage->pageContent !!} {!! $subpage->pageContent !!}
</div>
</div> </div>
</div> </div>
@endforeach @endforeach
</div>
@endif @endif