{$myAccountLinks = $userquery->my_account_links()} {assign var='custom_upload_fields' value=$Upload->load_custom_upload_fields($v,TRUE)}
{include file="$style_dir/blocks/manage/account_menu.html"}
{include file="$style_dir/blocks/manage/userMenuLeft.html"}
{assign var='video_fields' value=$Upload->load_video_fields($v)}

## Edit Video

{* GETTING THUMBS INFO *}

### Thumbs

{assign var=vidthumbs value=get_thumb($v,1,TRUE,false,true,false)} {foreach from=$vidthumbs item=vid_thumb}
{lang code='default'}
{/foreach}
{foreach from=$video_fields item=field_group}

### {$field_group.group_name}

{if $field_group.group_id == 'required_fields'}
{lang code='video_link'} {videoLink vdetails=$v}
{/if} {foreach from=$field_group.fields item=field}
{$field.title} {if $field.title == 'Title' || $field.title == 'Description' || $field.title == 'Tags'} {$field.class='form-control'} {$formObj->createField($field)} {else} {$field.class = 'form-control'} {$field.hint_1} {if $field.type == 'checkbox'} {$field.class=''} {$field.label_class='checkbox'} {$field.notShowSeprator=true} {/if} {if $field.type == 'radiobutton'} {$field.class=''} {$field.label_class='radio'} {$field.notShowSeprator=true} {/if} {$formObj->createField($field)} {$field.hint_2} {/if}
{if $field.name=='broadcast'}
{lang code='video_link'} {videoLink vdetails=$v}
{/if} {/foreach}
{/foreach} {foreach from=$custom_upload_fields item=field}
{$field.title}
{$field.class='form-control'} {$field.hint_1}
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
{$field.hint_2}
{/foreach} {ANCHOR place="edit_video_form"}