.thumbnail %a.link-popover{"data-content" => " Edit"} .loading-file - if @get('image').url %a.zoom-image.edit{href: ROOT_PATH + @get('image').url, rel: 'admix-albums-image'} %img{src: ROOT_PATH + @get('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}%;"} %textarea.span12{style: 'margin-top:5px;', placeholder:'Adicione uma descrição'} = @get('description') .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" %> %a.file-action.btn.btn-primary.save{style: 'display:none', href: "#", tooltip: 'Salvar mudanças'} = 'Salvar mudanças'