12 lines
392 B
Plaintext
12 lines
392 B
Plaintext
<%= render partial: 'shared/form_model_errors', locals: { obj: @comment } %>
|
|
|
|
<% # admin_update_comment_path # admin_create_comment_path %>
|
|
<%= form_for @comment, url: admin_create_comment_path(test_hash), method: :post do |form| %>
|
|
<div class="form-group">
|
|
<%= form.label :message, "Comment" %>
|
|
<%= form.text_area :message %>
|
|
</div>
|
|
|
|
<%= submit_tag "Save Comment" %>
|
|
<% end %>
|