11 lines
297 B
Plaintext
11 lines
297 B
Plaintext
|
<%= 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 %>
|