123456789101112131415161718192021 |
- <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" id="form_group_{$form.name}">
- <div class="col-xs-12 label-title" for="{$form.name}">{$form.title|htmlspecialchars}</div>
- <div class="col-xs-12 js-upload-image">
- <div id="file_list_{$form.name}" class="uploader-list" style="float:left">
- {notempty name="form.value"}
- <div class="file-item thumbnail">
- <a data-magnify="gallery" data-caption="" href="{$form['value']|get_file_url}">
- <img data-original="" src="{$form['value']|get_thumb}" width="100">
- </a>
- <i class="fa fa-times-circle remove-picture"></i>
- </div>
- {/notempty}
- </div>
- <input type="hidden" name="{$form.name}" data-multiple="false" data-watermark='{$form["watermark"]|default=""}' data-thumb='{$form["thumb"]|default=""}' data-size="{$form['size']|default=0}" data-ext='{$form["ext"]|default=""}' id="{$form.name}" value="{$form.value|default=''}">
- <div style="float:left" id="picker_{$form.name}">载入中...</div>
- <div class="clearfix"></div>
- {notempty name="form.tips"}
- <div class="help-block">{$form.tips}</div>
- {/notempty}
- </div>
- </div>
|