MS IZ album page is now not completely wonky, but still kind of pointless...
This commit is contained in:
parent
a9b64232df
commit
0b33e6b3eb
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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]}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue