<% form_for @abuse_report, :url => {:action => 'register_report'}, :html => {:onsubmit => "return send_request(this)", :id => 'report-abuse-form'} do |f| %> <%= labelled_form_field('* ' + _('Report reasons'), f.text_area(:reason, :rows => 6, :cols => 60, :class => 'required')) %> <%= hidden_field_tag(:content_type, params[:content_type]) %> <%= hidden_field_tag(:content_id, params[:content_id]) %>

<%= recaptcha_tags :ajax => true, :display => {:theme => 'clean'} %>

<%= submit_button(:send, _('Report profile'), :style => 'float: left; cursor: pointer;', :id => 'report-abuse-submit-button', :onclick => "jQuery('#form-submit-loading').show()") %> <%= button(:cancel, _('Cancel'), {}, :style => 'float: left; padding-top: 0px; padding-bottom: 0px;', :onclick => 'jQuery.colorbox.close(); return false;')%> <% end %>