Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxwell <maxwell@joindiaspora.com>2010-09-14 01:23:38 +0400
committermaxwell <maxwell@joindiaspora.com>2010-09-14 01:23:38 +0400
commit0b33e6b3eb8a40b69ced179f7b6032aeda5dcdf9 (patch)
tree852153e90dbf31caab2e50f6295b95e2abb40f60
parenta9b64232df6613cd739a45e91979dfb0f1c2002d (diff)
MS IZ album page is now not completely wonky, but still kind of pointless...
-rw-r--r--app/views/albums/edit.html.haml4
-rw-r--r--app/views/posts/_post.html.haml2
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]}"