converted haml templates
This commit is contained in:
9
app/views/comments/partials/new/_form.html.erb
Normal file
9
app/views/comments/partials/new/_form.html.erb
Normal 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>
|
||||
@@ -1,7 +0,0 @@
|
||||
%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"
|
||||
Reference in New Issue
Block a user