$form->isblank('follow_up_date', $locale->text('The follow-up date is missing.'));
$form->isblank('subject', $locale->text('The subject is missing.'));
- my %params = (map({ $_ => $form->{$_} } qw(id subject body created_for_user follow_up_date)), 'done' => 0);
+ my %params = (map({ $_ => $form->{$_} } qw(id subject body note_id created_for_user follow_up_date)), 'done' => 0);
_collect_links(\%params);
<div class="listtop">[% title %]</div>
<input type="hidden" name="id" value="[% HTML.escape(id) %]">
+ <input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
<input type="hidden" name="POPUP_MODE" value="[% HTML.escape(POPUP_MODE) %]">
<div class="listtop">[% title %]</div>
<input type="hidden" name="id" value="[% HTML.escape(id) %]">
+ <input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
<input type="hidden" name="POPUP_MODE" value="[% HTML.escape(POPUP_MODE) %]">