<% form_remote_for :report, @report, :url => :update_payment_soft, :html =>{:method => :post} do |f| -%>
Логин: <%= @report.name %>
Наименование: <%= f.text_area :pay_name, :style =>"width: 317px; height: 83px;" %>
ИНН: <%= f.text_field :inn %>
Комментарий: <%= f.text_area :com_buh, :style =>"width: 317px; height: 53px;" %>
<%= f.submit "Сохранить" %> <%= button_to_function "Назад", "$('#window2').hide()"%>
<% end %>