File Upload

Dropzone plugin is used toi handle the file uploads. Below are some common initializations just for example to see it in action.

Simple init

Code:
// Dropzone class:
var myDropzone = new Dropzone("div#initDropzoneProgrammatically", { url: "/file/post"});
// jQuery
$("div#initDropzoneProgrammatically").dropzone({ url: "/file/post" });
Alternatively you can create dropzones programmaticaly (even on non form elements) by instantiating the Dropzone class.

Don’t forget to specify an url option if you’re not using a form element, since Dropzone doesn’t know where to post to without an action attribute.

Multiple files with duplicate inputs

Select files
Izbrana datoteka

Multiple files with duplicate inputs in a Box item (.box-item)
Select files
Izbrana datoteka
With progress bar

Input not dropzone
Select file
Multiple files - input
Select file(s)
Single files - with previews
Kopija osebnega dokumenta
Kopija zdravstvene izkaznice
Kopija vozniške izkaznice
Kopija vozniške izkaznice
Kopija vozniške izkaznice