.thumbnail .file-title = @title %a.link-popover{"data-content" => " Edit"} .loading-file - if @image.url %a.photo-link{href: "#"} %img{src: ROOT_PATH + @image.medium.url} - else %img{src: "http://placehold.it/130x90&text=Carregando"} -if (@progress != null && @progress < 100) %div{class: (@progress < 100) ? 'progress progress-striped active' : 'progress'} .bar{style: "width:#{@progress}%;"} .caption %a.file-action.btn.destroy{href: "#", tooltip: 'Excluir'} <%= image_tag "admix/icons/delete.png" %> %a.file-action.btn.edit{href: "#", tooltip: 'Editar'} <%= image_tag "admix/icons/picture_edit.png" %>