Uploading Image with Bootsrap Modal
问题 I have some problem with uploading image with bootsrap modal. The problem is that even if I have selected an image, I always get the validation error "Your upload form is empty". Here's my form sript on view <div class="modal fade" id="modal_form" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h3 class="modal-title">User Form