MS IZ album page is now not completely wonky, but still kind of pointless...

This commit is contained in:
maxwell 2010-09-13 14:23:38 -07:00
parent a9b64232df
commit 0b33e6b3eb
2 changed files with 3 additions and 3 deletions

View file

@ -9,11 +9,11 @@
- form_for @album do |a|
= a.error_messages
%p
%b album name:
= a.text_field :name
%ul
- for photo in @album.photos
%li.photo_edit_block= image_tag photo.url(:thumb_large)
.photo_edit_block= image_tag photo.url(:thumb_medium)
#submit_block
= link_to "Cancel", root_path

View file

@ -1,4 +1,4 @@
%ul
%h3= link_to post.class, object_path(post)
- for field in object_fields(post)
%li= "#{field}: #{post.attributes[field]}"
%li= "#{field}: #{post.attributes[field]}"