Skip to content

Instantly share code, notes, and snippets.

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