Sha256: ff600ab26fb4bcbf224fe8fcb6d4062d06bf54be42a81d1d31c4b82354152371

Contents?: true

Size: 543 Bytes

Versions: 19

Compression:

Stored size: 543 Bytes

Contents

%tr.attachment{data: {attachment_id: attachment.id}}
  %td.filename= link_to attachment.filename, attachment_path(attachment)
  %td.size= number_to_human_size(attachment.size)
  %td.versions= attachment.versions.count
  %td.actions
    %a.upload{href: "#", title: "Upload", id: "upload_attachment_#{attachment.id}"} 
      %i.fa.fa-upload
    %a.delete{href: "#", title: "Delete"}
      %i.fa.fa-times
    :coffeescript
      $ ->
        view = new Tawork.Views.AttachmentView el: $(".attachment[data-attachment-id=#{attachment.id}]").get(0)

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
tawork-0.0.24 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.23 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.22 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.21 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.20 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.19 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.18 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.17 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.16 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.15 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.14 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.13 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.12 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.11 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.10 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.9 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.8 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.7 app/views/wiki/pages/_attachment.html.haml
tawork-0.0.6 app/views/wiki/pages/_attachment.html.haml