14 lines
339 B
PHTML
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>
|