_form.html.haml revision 40538f8b3af5a0f23baf731faf39f4abf6b78176
= simple_form_for [parent, request.post? ? resource : Comment.new], remote: true do |f|
= f.input :text
= f.button :submit, disable_with: t(:wait)