Skip to content

Instantly share code, notes, and snippets.

@mcfdn
Created October 23, 2012 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcfdn/3939713 to your computer and use it in GitHub Desktop.
Save mcfdn/3939713 to your computer and use it in GitHub Desktop.
Jquery File Upload Partial
<form id="<?php echo $this->escape($this->form->getAttrib('id')); ?>" action="<?php echo $this->escape($this->form->getAction()); ?>" method="<?php echo $this->form->getMethod(); ?>">
<div class="fileupload-buttonbar">
<span class="fileinput-button">
<span>Add files...</span>
<?php echo $this->form->Photo; ?>
</span>
<?php echo $this->form->Start; ?>
<?php echo $this->form->Cancel; ?>
<?php echo $this->form->Delete; ?>
<div class="fileupload-progress fade">
<div class="progress progress-success progress-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100">
<div class="bar" style="width:0%;"></div>
</div>
<div class="progress-extended">&nbsp;</div>
</div>
</div>
<div class="fileupload-loading"></div>
<br>
<table role="presentation" class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
</form>
<!-- Here you should include the rest of the jQuery File Upload template -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment