<div class="modal-dialog" id="image-uploader-modal"><div class="modal-header"><div class="title">插入图片</div><a class="modal-close" data-close="modal"><i class="fa fa-times"></i></a></div><div class="modal-tabs-content"><div class="tabs"><nav><ul><li><a class="actived" data-toggle="tab" href="#image-upload">上传</a></li><li><a data-toggle="tab" href="#image-link">URL 地址</a></li></ul></nav></div><div class="tab-content"><div class="tab-pane actived" id="image-upload"><form accept-charset="UTF-8" action="/~wyb7/attachments" class="new_attachment" enctype="multipart/form-data" id="image-upload-form" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;"><input name="authenticity_token" type="hidden" value="wP6VMiaHN4h2XALeiTRIgSnvBhFBvz8snPmboJt/7QY="></div><div class="field"><span class="button button-primary button-fileinput">选择文件<input id="attachment_file" name="attachment[file]" type="file"></span><span class="filename"></span></div><div class="field dropable"><div class="center"><div class="progress"><div class="bar"></div></div><div class="message"><h2><i class="icon-cloud-upload"></i> 拖到此处</h2><div class="storage-status"><span class="used">0 Bytes</span> / <span class="limit">10.0 MB</span></div><a href="/~wyb7/billing" target="_blank">需要更多储存空间？</a></div></div></div><div class="field"><input id="image-upload-submit" name="commit" type="submit" value="上传"><button data-close="modal" name="button" type="submit">取消</button></div></form></div><div class="tab-pane" id="image-link"><form accept-charset="UTF-8" action="/~wyb7/attachments" class="new_attachment" id="image-link-form" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;"><input name="authenticity_token" type="hidden" value="wP6VMiaHN4h2XALeiTRIgSnvBhFBvz8snPmboJt/7QY="></div><div class="field field-content"><input id="attachment_remote_file_url" name="attachment[remote_file_url]" placeholder="http://" type="text"></div><div class="field preview"><div class="center"><div class="message"><h2><i class="icon-cloud"></i> 预览</h2><div class="storage-status"><span class="used">0 Bytes</span> / <span class="limit">10.0 MB</span></div><a href="/~wyb7/billing" target="_blank">需要更多储存空间？</a></div></div></div><div class="field clearfix"><div class="pull-left"><input id="image-fetch-submit" name="commit" type="submit" value="抓取"><button data-close="modal" name="button" type="submit">取消</button></div><div class="pull-right"><button class="no-margin" id="image-link-button" name="button" type="submit">外链</button></div></div></form></div></div></div></div>