<?php
/** View Template: edit blog entry template
 *
 * @package koubel homepage
 * @author Miroslav Kubelik (koubel@volny.cz)
 * @copyright Copyright (c) 2007-2009 Miroslav Kubelik
 * @license http://opensource.org/licenses/gpl-license.php GNU GPL
 */

/* preDeclare some vars in the view*/
$this->declareVars(array("disableTrackback"=>true));
?>
<h2>Edit blog entry</h2>

<form id="blogEntryForm" name="blogEntryForm" method="post" action="<?php echo $this->url(
    array(
        "controller" => "entry",
        "action" => "update-db",
        "itemId" => $this->formData["id"]
    ),"blogAdminItemAction")
?>">

<?php echo $this->render("/admin/entry/entryForm.phtml")?>

<input type="hidden" name="entryId" value="<?php echo $this->formData["id"]?>" />

</form>
