## Collection Categories

{if $edit_category != "show"}
Category Name*
{assign var=useSubs value=config(use_subs)} {if $useSubs == 1}
Parent Category {cbCategories output="dropdown" class="form-control" name="parent_cat" id="parent_cat" blank_option=TRUE echo=TRUE type="collection"}
Make Default Category
{'desc'|post_form_val}
Category Thumb
{/if}
{/if}
{if $edit_category == "show"}
Category Name*
Parent Category {cbCategories output="dropdown" class='form-control' selected=$cat_details.parent_id name="parent_cat" id="parent_cat" blank_option=TRUE type="video" echo=TRUE}
Make Default Category
{$cat_details.category_desc}
Category Thumb
{/if}
Category List
{if $total != 0}

| Category Name | Order | Parent Category | Description | Default | Action
{section name=list loop=$category}
| {$category[list].category_name} View Thumb | {if $category[list].parent_id == "0"} {assign var=p_name value="None"} {else} {assign var=p_name value=$cbvid->get_category_field($category[list].parent_id,'category_name')} {/if} | {$p_name} | {if $category[list].category_desc}{$category[list].category_desc}{else}N/A{/if} | {$category[list].isdefault} |
{/section}

{else} No Category Has Been Created Yet {/if}