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>
|
||||
Reference in New Issue
Block a user