<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% button_id = @note.id.nil? ? "button_close_note_new" : "button_close_note_#{@note.id}" form_id = @note.id.nil? ? "edit_note_new" : "edit_note_#{@note.id}" @title_section = t('notes.dialog_title', :object => @object_type_label) @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @object_name @help_link_anchor = HELP_URL_CONFIG['jobs']['notes'] %> <% form_for @note, :html => { :id => form_id, :class => "edit_#{@object_type}_note", :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 => "note-general", :section_title => t('common.general_title'), :details_only => true}) %>
<%= standard_buttons(button_id) %>
<% end %>