% @comment ||= Parrot::Comment.new %>
<%= form_for([object, @comment]) do |f| %>
<% if @comment.errors.any? %>
<%= pluralize(@comment.errors.count, "error") %> prohibited this comment from being saved:
<% @comment.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :body, t('parrot.new_comment') %>
<%= f.text_area :body %>
<%= f.submit t('parrot.send_comment'), class: 'btn btn-success' %>
<% end %>