reverse you
This commit is contained in:
parent
e040a98bf2
commit
b65bce12d1
|
@ -12,9 +12,9 @@
|
||||||
<span>
|
<span>
|
||||||
<img src="/images/delete-24x24.png" border="" class="delete" />
|
<img src="/images/delete-24x24.png" border="" class="delete" />
|
||||||
<% if album.photos.empty? %>
|
<% if album.photos.empty? %>
|
||||||
<%= image_tag album.photos.first.path_modified_public('album'), :alt => album.title %>
|
|
||||||
<% else %>
|
|
||||||
<%= album.title %>
|
<%= album.title %>
|
||||||
|
<% else %>
|
||||||
|
<%= image_tag album.photos.first.path_modified_public('album'), :alt => album.title %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= album_fields.hidden_field album.id %>
|
<%= album_fields.hidden_field album.id %>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue