<?php
$title = isset($response['page_name']) ? $response['page_name'] : '';
$this->headTitle($title);
$this->placeholder('titleType')->set('PREPEND');
?>

<div>
<?php
if (isset($response['status']) && $response['status'] === 'success') :
    echo isset($response['content']) ? $response['content'] : '';
 else :
    echo isset($response['message']) ? $response['message'] : '';
endif;
?>
</div>
