mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb in mix-rails-0.12.2 vs mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb in mix-rails-0.15.0
- old
+ new
@@ -1,6 +1,6 @@
-.thumbnail.file-item
+.thumbnail
.file-title
= @title
%a.link-popover{"data-content" => "<i class=icon-edit></i> Edit"}
.loading-file
- if @image.url
@@ -10,7 +10,7 @@
%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.delete{href: "#"}
+ %a.file-action.destroy{href: "#"}
<%= image_tag "albums/delete.png" %>
\ No newline at end of file