journalduhacker/app/views/stories/edit.phtml
2012-06-16 20:15:46 -05:00

14 lines
339 B
PHTML

<h1>Edit a Story</h1>
<? $form->form_for($story, array("controller" => "stories",
"action" => "update", "id" => $item->short_id), array(),
function($f) use ($C) { ?>
<?= $C->render(array("partial" => "stories/form"),
array("f" => $f)); ?>
<div class="box_submitter">
<?= $f->submit_tag("Save Changes"); ?>
</div>
<? }); ?>
</div>