[% text('Notes') %]
[% PROCESS input element_data = { type = "hidden" name = "target_div" value = 'notes_div' } %] [% PROCESS input element_data = { type = "hidden" name = "form_id" value = form_id } %] [% PROCESS input element_data = { type="hidden" name="entity_class" value=entity_class } %] [% PROCESS input element_data = { type="hidden" name="entity_id" value=entity_id } %] [% PROCESS input element_data = { type="hidden" name="credit_id" value=credit_act.id } %]
[% IF credit_act.id; PROCESS select element_data = { name = "note_class" default_values = [note_class] options = attach_level_options label = text("Attach To") value_attr = "value" }; ELSE; %] [% text('Note Class') %][% text('Entity'); %][% END; %] [% PROCESS textarea element_data = { title = text('Notes') label = text('Notes') name = 'note' required = 'true' id = 'note_entry_note' } %]
[% PROCESS button element_data = { text = text('Save') class = 'submit' name = '__action' value = 'save_notes' } %] [% FOREACH n = notes %]
[% text('Subject: [_1]', n.subject)%]
[% text('Entered at: [_1]', n.created) %]
[% text("Author: [_1]", n.created_by) %]
[% n.note %]
[% END %]