[%- USE T8 %]
[%- USE LxERP %][%- USE P -%]
-<form method="post" action="[% script | html %]">
+<h1>[% title | html %]</h1>
+
+[%- INCLUDE 'common/flash.html' %]
+
+<form method="post" action="[% script | html %]" id="form">
<input type="hidden" name="terms" value="[% terms | html %]">
<input type="hidden" name="[% temp %]" value="[% $temp | html %]">
[% END %]
-<h1>[% title | html %]</h1>
-
[% IF ( saved_message ) %]
<p>[% saved_message | html %]</p>
[% END %]
[%- USE T8 %]
[%- USE LxERP %][%- USE P -%]
-<form method=post name="arledger" action="[% script %]">
+<h1>[% title | html %]</h1>
+
+[%- INCLUDE 'common/flash.html' %]
+
+<form method=post name="arledger" action="[% script %]" id="form">
[% L.hidden_tag('id', id) %]
[% L.hidden_tag('sort', sort) %]
[% L.hidden_tag('follow_up_rowcount', 1) %]
<input type="hidden" name="lastmtime" value="[% HTML.escape(lastmtime) %]">
-<h1>[% title | html %]</h1>
-
[%- IF saved_message %]<p>[% saved_message | html %]</p>[% END %]
<div class="tabwidget">
[%- USE L %]
<h1>[% title | html %]</h1>
+[%- INCLUDE 'common/flash.html' %]
+
<script type="text/javascript">
<!--
function copy_debit_to_credit() {
<script type="text/javascript" src="js/follow_up.js"></script>
<script type="text/javascript" src="js/kivi.Draft.js"></script>
-<form method=post name="gl" action=gl.pl>
+<form method="post" name="gl" action="gl.pl" id="form">
[% FOREACH name IN [ 'id', 'closedto', 'locked', 'storno', 'storno_id', 'previous_id', 'previous_gldate' ] %]
[% L.hidden_tag(name, $name) %]