{categoriesHeader}
<form name=form method="POST" action="index.php?fuse=knowledgebase&action=KB_SaveCategory">
    <table width="100%">
        <tr>
            <input type="hidden" name="categoryId" value="{categoryId}">
            <td width="15%" class="formLabel">[l]Title[/l]:</td>
            <td width="85%" class="formField">
                <input class=required type="text" name="title" width="100" value="{categoryTitle}" style="width:300px" />
                <input type="hidden" name="r_title" width="100" value="[lh]Title[/lh]" style="width:300px" />                
            </td>
        </tr>
        <tr>
            <td width="15%" class="formLabel">[l]Description[/l]:</td>
            <td width="85%"class="formField">
                <input type="text" name="description" width="100%" value="{categoryDescription}" style="width:300px" />
            </td>
        </tr>
        <tr>
            <td width="15%" class="formLabel">[l]Parent Category[/l]{Popup}:</td>
            <td width="85%" class="formField">
                <input type="hidden" name="r_category" width="100" value="[lh]Category[/lh]" style="width:300px" />            
                <select class=required name="category">
                    <!-- BEGIN DYNAMIC BLOCK: kbSelectedCategory -->
                    <option value="{catSelId}" selected>{catSelLabel}</option>
                    <!-- END DYNAMIC BLOCK: kbSelectedCategory -->                                        
                    <!-- BEGIN DYNAMIC BLOCK: kbCategories -->
                    <option value="{catId}">{catLabel}</option>
                    <!-- END DYNAMIC BLOCK: kbCategories -->
                </select>                
            </td>
        </tr>
        <tr>
            <td width="15%" class="formLabel">[l]Staff-only[/l]{staffOnlyHelpPopup}:</td>
            <td width="85%"class="formField">
                <input type="checkbox" name="staffOnly" {staffOnlyChecked} />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" class="button_large" value="[lh]Save Category[/lh]" onclick="check(form,form.elements.length);return false;"/>
            </td>
        </tr>
    </table>
</form>
