skill-assessment-app/app/views/admin/result/_comment_form.html.erb

11 lines
297 B
Plaintext
Raw Normal View History

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