<?php
/** View Template: add index 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"=>false))?>
<h2>Add new blog entry</h2>

<form id="blogEntryForm" name="blogEntryForm" method="post" action="<?php echo $this->url(
    array(
        "controller" => "entry",
        "action" => "add-to-db"
    ),"blogAdmin")?>">

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

</form>
