<div class="row">
	<div class="col-md-12">
		<button class="btn btn-primary pull-right" id="add_new_media" data-value="hide">Add new</button>
	</div>
</div>
		


<div id="add_media_div" class="mt-2 mb-3" style="display: none;">

	<form enctype="multipart/form-data" action="<?php echo base_url().$this->config->item('admin_folder').'/media/save_media'; ?>" data-parsley-validate="" method="post" name="media_upload" id="my-awesome-dropzone" class="dropzone" novalidate="">

        <div class="fallback">
            <input type="file" required="" class="form-control" name="file[]" multiple="">
        </div>

    </form>

    <div class="alert alert-success border-success mt-2" style="display: none;">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <i class="icofont icofont-close-line-circled"></i>
        </button>
        <strong id="success_message"></strong>
    </div>


    <div class="alert alert-danger border-danger mt-2" style="display: none;">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <i class="icofont icofont-close-line-circled"></i>
        </button>
        <strong id="error_message"></strong>
    </div>

</div>