mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-02 11:20:52 +02:00
Files Manager: jasny bootstrap-fileupload - added. #89
This commit is contained in:
@@ -5,8 +5,16 @@
|
|||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Form::open(null, array('enctype' => 'multipart/form-data')).
|
Form::open(null, array('enctype' => 'multipart/form-data')).
|
||||||
Form::hidden('csrf', Security::token()).
|
Form::hidden('csrf', Security::token())
|
||||||
Form::input('file', null, array('type' => 'file', 'size' => '25')).Html::br().
|
);
|
||||||
|
?>
|
||||||
|
<div class="fileupload fileupload-new" data-provides="fileupload">
|
||||||
|
<span class="btn btn-small btn-file"><span class="fileupload-new">Select file</span><span class="fileupload-exists">Change</span><input type="file" name="file" /></span>
|
||||||
|
<span class="fileupload-preview"></span>
|
||||||
|
<a href="#" class="close fileupload-exists" data-dismiss="fileupload">×</a>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
echo (
|
||||||
Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn')).
|
Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn')).
|
||||||
Form::close()
|
Form::close()
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user