@extends('backend.layouts.master') @section('title') Edit Page @endsection @section('content') @include('backend/includes/sidebar') @include('backend/includes/header') Edit Page @if(session()->has('success')) {{ session()->get('success') }}. Click here to view the page. @endif @if(count($errors) > 0) @foreach($errors->all() as $error) {{ $error }} @endforeach @endif Edit Page Form Page Title * Slug * Only Lower case characters and - is allowed This slug is already taken Select Template * @foreach($templates as $template) id == $pages->template_id) checked @endif> {{ $template->name }} @endforeach Meta Title * Meta Description {{ $pages->meta_description }} Meta Keywords Book Image * Min. 116 x 150 dimension Banner Image * Min. 1300 x 280 dimension Page Content {{ $pages->page_content }} Template Fields Hard Cover Soft Cover Spiral Book Saddle Stitch Lay-Flat @if($pages->template_id == 4){{ $dynamic_fields[0] }}@endif @if($pages->template_id == 4){{ $dynamic_fields[1] }}@endif @if($pages->template_id == 4){{ $dynamic_fields[2] }}@endif @if($pages->template_id == 4){{ $dynamic_fields[3] }}@endif @if($pages->template_id == 4){{ $dynamic_fields[4] }}@endif Template Fields Which Option Will You Chose? @for($a = 0; $a < 3; $a++) @if($pages->template_id == 1){{ $dynamic_fields->desc[$a] }}@endif @endfor The UBuildAbook Advantage @if($pages->template_id == 1){{ $dynamic_fields->advantage }}@endif Template Fields @if($pages->template_id == 8){{ $dynamic_fields }}@endif Template Fields WEBINAR REQUEST FORM VIDEOS WANT TO LEARN MORE? @if($pages->template_id == 9){{ $dynamic_fields[0] }}@endif @if($pages->template_id == 9){{ $dynamic_fields[1] }}@endif @if($pages->template_id == 9){{ $dynamic_fields[2] }}@endif Template Fields @if($pages->template_id == 10){{ $dynamic_fields }}@endif Template Fields FREE SW POINTS BUILD YOUR YEARBOOK, SIMPLY PC USERS MAC USERS @if($pages->template_id == 11){{ $dynamic_fields[0] }}@endif @if($pages->template_id == 11){{ $dynamic_fields[1] }}@endif @if($pages->template_id == 11){{ $dynamic_fields[2] }}@endif @if($pages->template_id == 11){{ $dynamic_fields[3] }}@endif Status Save Cancel @include('backend/includes/footer') @endsection