{{ Form::open(array(
'class' => 'repeatable_fileupload',
'method' => 'post',
'url' => "/fileupload".($has_path?"/$photo_path":'').(isset($item->id)?"/$item->id":'')."/$fileupload_server_dir",
'enctype' => 'multipart/form-data',
'data-url' => url("fileupload".($has_path?"/$photo_path":'').(isset($item->id)?"/$item->id":'')."/$fileupload_server_dir"),
'data-image-max-width' => $has_reqs ? $max_width:null,
'data-image-max-height' => $has_reqs ? $max_height:null,
)) }}
{{ Form::close() }}