2017-02-10 15:46:43 -06:00
|
|
|
<%= render partial: 'shared/form_model_errors', locals: { obj: @comment } %>
|
|
|
|
|
2017-02-13 15:54:57 -06:00
|
|
|
<%= form_for @comment, url: admin_create_comment_path(test_hash), method: :post do |form| %>
|
2017-02-10 15:46:43 -06:00
|
|
|
<div class="form-group">
|
|
|
|
<%= form.label :message, "Comment" %>
|
|
|
|
<%= form.text_area :message %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= submit_tag "Save Comment" %>
|
|
|
|
<% end %>
|