<%if request.xhr?%> <%else%>

<%= t('spam.report') %>

<%end%> <%= form_tag(spam_space_post_path(@space,@post)) do -%>

<%= t('spam.detected') %>

<%= text_area_tag 'body', params[:body].present? ? params[:body] : nil,:id => "spam_textarea" %>

<%= submit_tag t('spam.report') %>
<% end -%>