[% PROCESS input element_data = {
title = text('Subject'),
label = "_none_"
name = "subject"
value = subject
type = "text"
size = "20"
} %]
[%
IF credit_act.id;
PROCESS select element_data = {
name = "note_class"
default_values = [note_class]
options = attach_level_options
title = text("Note Class") #"
label = "_none_"
value_attr = "value"
};
ELSE;
PROCESS input element_data = {
type = "hidden"
name = "note_class"
value = "1"
} %]
[% text('Entity');
END; %]
[% PROCESS textarea element_data = {
title = text('Notes')
label = "_none_"
name = 'note'
required = 'true'
id = 'note_entry_note'
} %]
[% PROCESS button element_data = {
text = text('Save')
class = 'submit'
name = 'action'
value = 'save_notes'
} %]