<% form_remote_for :report, @report, :url => :update_payment_mod2, :html =>{:method => :post} do |f| -%>
Логин: <%= @report.name %>
Оплата: <%= f.select(:work_time, Report.mod2_get_money) %>
Документы: <%= f.select(:weld, Report.mod2_get_docs) %>
Комментарий: <%= f.text_area :com_get_money, :style =>"width: 317px; height: 53px;" %>
<%= f.submit "Сохранить" %> <%= button_to_function "Назад", "$('#window2').hide()"%>
<% end %>