From 54130b49b7635ea9a8d7db367b2235ffc20b5d04 Mon Sep 17 00:00:00 2001 From: danielgrippi <daniel@joindiaspora.com> Date: Thu, 10 Mar 2011 19:42:37 -0800 Subject: [PATCH] Revert "fix a few invalid html tags" This reverts commit 004d9b5028b2fd702a04631812946a28f1495ae4. --- app/views/shared/_publisher.html.haml | 11 ++++++----- app/views/shared/_stream_element.html.haml | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/shared/_publisher.html.haml b/app/views/shared/_publisher.html.haml index 38cbc83fa9..5bffab311f 100644 --- a/app/views/shared/_publisher.html.haml +++ b/app/views/shared/_publisher.html.haml @@ -26,11 +26,12 @@ %br = t('.add_photos') - %div - #publisher_textarea_wrapper - %ul#photodropzone - = status.text_area :fake_message, :rows => 2, :value => h(params[:prefill]) - = status.hidden_field :message, :value => '', :class => 'clear_on_submit' + %p + %params + #publisher_textarea_wrapper + %ul#photodropzone + = status.text_area :fake_message, :rows => 2, :value => h(params[:prefill]) + = status.hidden_field :message, :value => '', :class => 'clear_on_submit' - for aspect_id in @aspect_ids = hidden_field_tag 'aspect_ids[]', aspect_id.to_s diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index c611cdd8ae..c0d4d079d8 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -16,7 +16,7 @@ .from = person_link(post.author, :class => 'author') %time.timeago{:datetime => post.created_at} - %div + %p = render 'status_messages/status_message', :post => post, :photos => post.photos .info -- GitLab