AM->closedto(\%::myconfig, $::form);
+ setup_am_audit_control_action_bar();
+
$::form->header;
print $::form->parse_html_template('am/audit_control');
);
}
}
+
+sub setup_am_audit_control_action_bar {
+ my %params = @_;
+
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Save'),
+ submit => [ '#form', { action => 'doclose' } ],
+ accesskey => 'enter',
+ ],
+ );
+ }
+}
<h1>[% title | html %]</h1>
-<form method=post action=am.pl>
+<form method="post" action="am.pl" id="form">
<table>
<tr>
</tr>
</table>
-<hr size=3 noshade>
-
-<br>
-<input type=hidden name=nextsub value=doclose>
-<input type=submit class=submit name=action value="[% 'Continue' | $T8 %]">
-
</form>
-