Use image_path for local image, for asset hosts and such.
This commit is contained in:
parent
654ce95db4
commit
c5d215b914
|
@ -10,7 +10,8 @@
|
|||
<% for album in @collection.albums %>
|
||||
<%= form.fields_for :album_list do |album_fields| %>
|
||||
<span>
|
||||
<img src="/images/delete-24x24.png" border="" class="delete" />
|
||||
<%= image_tag "delete-24x24.png", :class => "delete", :alt => "Delete" -%>
|
||||
|
||||
<% if album.photos.empty? %>
|
||||
<%= album.title %>
|
||||
<% else %>
|
||||
|
|
Loading…
Reference in a new issue