Skip to content

Instantly share code, notes, and snippets.

@galvao

galvao/index.phtml Secret

Created Jan 14, 2015
Embed
What would you like to do?
The regular view
<div class="pageTitle">
<?=$title;?> - <span><input type="button" class="button" value="Cadastrar novo tipo de atividade"></span>
<br>
<a href="http://foo">Bar</a>
</div>
<?php
echo $this->partial(
'partial/datagrid.phtml',
array(
'dataCount' => $dataCount,
'data' => $data,
)
);
if ($paginate) {
echo $this->paginationControl(
$data,
'sliding',
array('partial/paginator.phtml', 'ActivityType'),
array('route' => 'activity-type-list')
);
}
?>
<script type="text/javascript" src="js/JSONRenderer.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment