Created
March 6, 2010 02:48
-
-
Save slywalker/323461 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="posts form"> | |
<?php echo $form->create('Post');?> | |
<fieldset> | |
<legend><?php __('Edit Post');?></legend> | |
<?php | |
echo $form->input('id'); | |
echo $form->input('title'); | |
echo $form->input('body'); | |
?> | |
</fieldset> | |
<?php echo $form->end('Submit');?> | |
</div> | |
<div class="actions"> | |
<ul> | |
<li><?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('Post.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Post.id'))); ?></li> | |
<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