skill-assessment-app/app/views/admin/result/_comment_form.html.erb
2017-02-13 15:54:57 -06:00

11 lines
330 B
Plaintext

<%= render partial: 'shared/form_model_errors', locals: { obj: @comment } %>
<%= 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 %>