Sha256: 0a8a210e5402d27d7f6bff448c6135ecb7c48ca0a9f9a5a49c5421951104230e

Contents?: true

Size: 949 Bytes

Versions: 6

Compression:

Stored size: 949 Bytes

Contents

.thumbnail
  %a.link-popover{"data-content" => "<i class=icon-edit></i> Edit"}
    .loading-file
      - if @get('image').url
        %a.edit{href: "#"}
          %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'

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mix-rails-0.23.1 mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb
mix-rails-albums-0.23.1 app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb
mix-rails-0.23.0 mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb
mix-rails-albums-0.23.0 app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb
mix-rails-0.22.0 mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb
mix-rails-albums-0.22.0 app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb