I am working with laravel.I want to add Dropzone box on this form to upload images in new div tag right before the submit button.how do you put "class="Dropzone"" in this file? my form
<form method="post" action="" enctype="multipart/form-data" >
<input type="hidden" id="cid" name="cid" value="" />
<div class="form-group">
<label for="exampleFormControlSelect1">District</label>
<select class="form-control" id="exampleFormControlSelect1" name="district">
<option>colorado</option>
<option>new york</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlSelect1">Town</label>
<select class="form-control" id="exampleFormControlSelect1" name="town">
<option>Nugegoda</option>
<option>Kuruwita</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlSelect1">Brand</label>
<select class="form-control" id="exampleFormControlSelect1" name="brand">
<option>Toyota</option>
<option>Nissan</option>
</select>
</div>
//I need add drozone box here to upload images
<button type="submit" class="btn btn-primary" style="margin-top:10px">Submit</button>
</form>
Dropzone form
<form id="my-awesome-dropzone" class="dropzone">
<div class="dropzone-previews"></div>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire