<?php
/**
  * @var \App\View\AppView $this
  */
?>
<nav class="large-3 medium-4 columns" id="actions-sidebar">
    <ul class="side-nav">
        <li class="heading"><?= __('Actions') ?></li>
        <li><?= $this->Html->link(__('Edit Page'), ['action' => 'edit', $page->id]) ?> </li>
        <li><?= $this->Form->postLink(__('Delete Page'), ['action' => 'delete', $page->id], ['confirm' => __('Are you sure you want to delete # {0}?', $page->id)]) ?> </li>
        <li><?= $this->Html->link(__('List Pages'), ['action' => 'index']) ?> </li>
        <li><?= $this->Html->link(__('New Page'), ['action' => 'add']) ?> </li>
    </ul>
</nav>
<div class="pages view large-9 medium-8 columns content">
    <h3><?= h($page->id) ?></h3>
    <table class="vertical-table">
        <tr>
            <th scope="row"><?= __('Status') ?></th>
            <td><?= h($page->status) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Pagename') ?></th>
            <td><?= h($page->pagename) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Meta Robots') ?></th>
            <td><?= h($page->meta_robots) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Permalinks') ?></th>
            <td><?= h($page->permalinks) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Id') ?></th>
            <td><?= $this->Number->format($page->id) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Page View') ?></th>
            <td><?= $this->Number->format($page->page_view) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Created') ?></th>
            <td><?= h($page->created) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Modified') ?></th>
            <td><?= h($page->modified) ?></td>
        </tr>
    </table>
    <div class="row">
        <h4><?= __('Description') ?></h4>
        <?= $this->Text->autoParagraph(h($page->description)); ?>
    </div>
    <div class="row">
        <h4><?= __('Title') ?></h4>
        <?= $this->Text->autoParagraph(h($page->title)); ?>
    </div>
    <div class="row">
        <h4><?= __('Txtheading') ?></h4>
        <?= $this->Text->autoParagraph(h($page->txtheading)); ?>
    </div>
    <div class="row">
        <h4><?= __('Meta Description') ?></h4>
        <?= $this->Text->autoParagraph(h($page->meta_description)); ?>
    </div>
    <div class="row">
        <h4><?= __('Sub Title') ?></h4>
        <?= $this->Text->autoParagraph(h($page->sub_title)); ?>
    </div>
    <div class="row">
        <h4><?= __('Sub Heading') ?></h4>
        <?= $this->Text->autoParagraph(h($page->sub_heading)); ?>
    </div>
</div>
