converted haml templates

This commit is contained in:
albert
2010-10-28 20:11:17 -04:00
parent fc0a076aca
commit d0d3487fc8
12 changed files with 118 additions and 69 deletions

View File

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