<?php
/** View Template: blog category form template.
 *
 * It's used in the add,edit blog category pages.
 *
 * @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
 */
?>
<?php if(isset($this->messages)):foreach($this->messages as $message):?>
<div style="color:blue"><?php echo $message?></div>
<?php endforeach;endif?>

<fieldset style="margin:0;padding:0;border:none">

<div>Name</div>
<input style="width:200px" id="name" name="name" value="<?php echo isset($this->formData["name"]) ? $this->formData["name"] : ""?>" />

<div>URL identifier</div>
<input id="titleURL" name="titleURL" value="<?php echo isset($this->formData["titleURL"]) ? $this->formData["titleURL"] : ""?>" />

<!-- button must be in div -->
<div style="margin-top:0.5em">
 <input type="submit" />
 <input type="reset" value="Reset" />
</div>

</fieldset>
