reverse you

This commit is contained in:
Espen Antonsen 2009-10-26 16:29:59 +01:00
parent e040a98bf2
commit b65bce12d1

View file

@ -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>