<?php
/** View Template: edit blog category 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
 */
?>
<h2>Edit blog category</h2>

<ul>
 <li><?php echo $this->anchor($this->url(
        array("controller" => "category", "action" => "edit-articles", "itemId" => $this->formData["id"]),
        "blogAdminItemAction"),"Articles ($this->articleCount)")?></li>
</ul>

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

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

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

</form>
