Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created March 6, 2010 02:47
Show Gist options
  • Save slywalker/323460 to your computer and use it in GitHub Desktop.
Save slywalker/323460 to your computer and use it in GitHub Desktop.
<div class="posts form">
<?php echo $form->create('Post');?>
<fieldset>
<legend><?php __('Add Post');?></legend>
<?php
echo $form->input('title');
echo $form->input('body');
?>
</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
<ul>
<li><?php echo $html->link(__('List Posts', true), array('action' => 'index'));?></li>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment