## Mass Uploader

{assign var=vid_files value=$cbmass->get_video_files()} {if $vid_files} {foreach from=$vid_files item=file name=mass_files} {assign var='requiredFields' value=$Upload->loadRequiredFields($file)} {assign var='optionFields' value=$Upload->loadOptionFields($file)} {assign var='locationFields' value=$Upload->loadLocationFields($file)} {assign var='cust_fields' value=$Upload->custom_form_fields}

#{$smarty.foreach.mass_files.iteration} | {$file.file} - enter details

{foreach from=$requiredFields item=field}
{$field.title} | {if $field.hint_1} {$field.hint_1} {/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field,TRUE)} {if $field.hint_2} {$field.hint_2} {/if}
{/foreach}

{/foreach}
{else}

NO VIDEO FOUND IN MASS UPLOAD FOLDER

{/if}