@extends('pagecomponents::layouts.master') @section('title', '| Page Layout') @section('content')

Page Layout

@if (count($pillars_data) > 0) {!! Form::open(['method' => 'PUT', 'url' => "/page-components/pillars/update-layout", 'class' => 'form-horizontal', 'role' => 'form']) !!}

Start by selecting the page you'd like to edit!

@foreach ($pillars_data as $code => $data)
{{ $data['pages_name'] }}
    @php $index = 1 @endphp @foreach ($data['pillars'] as $pillar)
  • {{ $index }} {!! $pillar['name'] ? $pillar['name'] : $pillar['code'] !!}

    {!! getLanguageTranslation($pillar['value']) !!}
  • @php $index++ @endphp @endforeach
@endforeach
@if (Auth::user()->hasAnyRole(['ADMIN', 'EDITOR']))
@endif
{!! Form::close() !!} @else

Seems like no active pillars have been set yet!

@endif @endsection @push('scripts') @endpush