%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% button_id = "button_close" form_id = "new_report" @title = t('reports.report.dialog_title') %> <% form_for :report, :url => new_report_path(:format => :json), :html => { :class => "edit_report", :id => form_id, :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %> <%= render( :partial => "edit_general", :layout => 'shared/edit_section', :locals => { :section_id => "report-general", :section_title => t('common.general_title'), :details_only => true}) %>