work on comments

This commit is contained in:
albert
2010-10-20 19:24:53 -04:00
parent d7eafdaaf5
commit f8b1bd3142
15 changed files with 184 additions and 44 deletions

View File

@@ -0,0 +1,7 @@
%div{:class => "comment-preview dtext"}
= form_tag(comments_path) do
= hidden_field "comment", "post_id", :value => post.id
= text_area "comment", "body", :size => "60x7"
%br
= submit_tag "Post"
= submit_tag "Preview"