Skip to content

Instantly share code, notes, and snippets.

@AD7six
Last active August 29, 2015 14:00
Show Gist options
  • Save AD7six/67d9c7e736cbf9759ada to your computer and use it in GitHub Desktop.
Save AD7six/67d9c7e736cbf9759ada to your computer and use it in GitHub Desktop.
<div class="row">
<div class="col-lg-6">
<?php
echo $this->Form->create($x->createModel(), $x->options());
echo $this->Form->inputs($fields->inputs(), $nulll, fields->options());
$buttons = $x->buttons();
foreach($buttons as $button) {
echo $this->Form->submit($button->name(), $button->options());
}
links = $x->links();
foreach(links as links) {
echo $this->Html->link($link->title(), $link->url(), $link->options());
}
echo $this->Form->end();
?>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment