Add space in status messages

This commit is contained in:
2025-03-01 10:52:42 +00:00
parent 865a945233
commit a5205ea14c
8 changed files with 928 additions and 776 deletions

View File

@@ -125,11 +125,11 @@ sub do_update {
my %${prefix}_data = ();
my $title = $c->l('${prefix}_${MenuDescription}');
# Accessing all POST parameters
my %params = $c->req->params->to_hash;
# Accessing all POST/GET parameters
my $params = $c->req->params->to_hash;
# Get number of POST parameters
my $num_params = keys %params;
my $num_params = keys scaler %$params;
#Params are available in the hash "params" - copy to the prefix_data hash
#while (my ($key, $value) = each %{$c->req->params->to_hash}) {

View File

@@ -103,7 +103,7 @@ sub get_${tablecontrol[0]} {
my $selected = shift; #Parameter is name of selected row.
my $is_new_record = shift; #Indicates new record required (defaults)
my %ret = {};
return $ret;
return %ret;
}
</tal:block>

View File

@@ -32,6 +32,7 @@
%= $c->l($c->stash('success'));
</p>
</div>
<br />
%} elsif ($c->stash('error')) {
<div class='sme-error'>
@@ -39,6 +40,7 @@
%= $c->l($c->stash('error'));
</p>
</div>
<br />
%}
%#Routing to partials according to trt parameter.