Sha256: 19e39329f10dabe9d1aa291edc8f1b92e091be81c4aff9e017061e958e6766ad

Contents?: true

Size: 822 Bytes

Versions: 2

Compression:

Stored size: 822 Bytes

Contents

<!-- The template to display files available for download -->
<script id="template-download-<%= field.klass %>" type="text/x-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
  <div id="asset_{%=file.id%}" class="attach_item template-download">
    <div class="buttons-panel">
      <a href="#" class="del_btn delete" data-type="DELETE" data-url="/uploader/attachments/{%=file.id%}?klass=<%= field.klass %>"></a>
    </div>
    <div class="thumbnail preview">
      <a href="{%=file.url%}" download="{%=file.filename%}">
        <img src="{%=file.thumb_url%}" title="{%=file.filename%}" rel="gallery" />
      </a>
    </div>
    <div class="infoHolder">
      <div class="fileName">{%=file.filename%}</div>
      <div class="fileWeight">{%=o.formatFileSize(file.size)%}</div>
    </div>
  </div>
{% } %}
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-uploader-0.1.4 app/views/uploader/default/_download.html.erb
rails-uploader-0.1.3 app/views/uploader/default/_download.html.erb