{$videoFields = $Upload->load_video_fields($input)} {$requiredFields = $videoFields[0]} {$sharingOptions = $videoFields[1]} {$dateAndLocation = $videoFields[2]} {$custom_fields = $videoFields[4]} {$config_for_mp4 = $Cbucket->configs['stay_mp4']}
{lang code="drag_drop"}

{lang code="upload_text"} {$Cbucket->configs['max_upload_size']} {lang code="upload_txt"} , {$Cbucket->configs['max_video_duration']} {lang code="upload_txt2"}

{lang code="select_video"}
{lang code="upload_more_videos"}
{$requiredFields.group_name}
{foreach $requiredFields.fields as $field}
{$field.class='form-control'} {$field.notShowSeprator='yes'} {if $field.type == 'radiobutton'} {$field.label_class='radio'} {$field.class=''} {$formObj->createField($field)} {elseif $field.type == 'checkbox'} {$categories = $field} {else} {$field.title} {$formObj->createField($field)} {/if}
{/foreach}
Duration
{ANCHOR place="upload_video_form"}
{if $custom_flag && $custom_fields!=""}

#### {$custom_fields.group_name}

{foreach $custom_fields.fields as $field}
{$field.class='form-control'} {$field.notShowSeprator='yes'} {if $field.type == 'radiobutton'} {$field.label_class='radio'} {$field.class=''} {$formObj->createField($field)} {elseif $field.type == 'checkbox'}

#### {$field.title}

{$field.label_class='checkbox'} {$field.class='checkbox'} {$formObj->createField($field)} {else} {$field.title} {$formObj->createField($field)} {/if}
{/foreach}
{/if}

#### {$dateAndLocation.group_name}

{foreach $dateAndLocation.fields as $field}
{$field.class='form-control'} {$field.notShowSeprator='yes'} {if $field.type == 'radiobutton'} {$field.label_class='radio'} {$field.class=''} {$formObj->createField($field)} {elseif $field.type == 'checkbox'}

#### {$field.title}

{$field.label_class='checkbox'} {$field.class='checkbox'} {$formObj->createField($field)} {else} {$field.title} {$formObj->createField($field)} {/if}
{/foreach}

#### {$sharingOptions.group_name}

{foreach $sharingOptions.fields as $field}
{$field.class='form-control'} {$field.notShowSeprator='yes'} {if $field.type == 'radiobutton'} {$field.label_class='radio'} {$field.class=''} {$formObj->createField($field)} {else} {$field.title} {$formObj->createField($field)} {/if}
{/foreach}

#### {$categories.title}

{$categories.hint_1}
{$categories.label_class='checkbox'} {$categories.class='checkbox'} {$formObj->createField($categories)}