From 0b33e6b3eb8a40b69ced179f7b6032aeda5dcdf9 Mon Sep 17 00:00:00 2001 From: maxwell Date: Mon, 13 Sep 2010 14:23:38 -0700 Subject: [PATCH] MS IZ album page is now not completely wonky, but still kind of pointless... --- app/views/albums/edit.html.haml | 4 ++-- app/views/posts/_post.html.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/albums/edit.html.haml b/app/views/albums/edit.html.haml index 18cb8b644..43a80aeda 100644 --- a/app/views/albums/edit.html.haml +++ b/app/views/albums/edit.html.haml @@ -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 diff --git a/app/views/posts/_post.html.haml b/app/views/posts/_post.html.haml index 9474a806f..6594bc07c 100644 --- a/app/views/posts/_post.html.haml +++ b/app/views/posts/_post.html.haml @@ -1,4 +1,4 @@ %ul %h3= link_to post.class, object_path(post) - for field in object_fields(post) - %li= "#{field}: #{post.attributes[field]}" \ No newline at end of file + %li= "#{field}: #{post.attributes[field]}"