Fix in controller and update in partial
This commit is contained in:
parent
10c7def564
commit
8977d629e7
@ -157,6 +157,7 @@ sub do_update {
|
||||
}
|
||||
</tal:block>
|
||||
if ($ret ne "ok"){
|
||||
$c->stash(error => $c->l($ret));
|
||||
$c->do_display($thispanel);
|
||||
} else {
|
||||
#Do whatever is needed, including writing values to the DB
|
||||
|
@ -13,6 +13,9 @@
|
||||
</pre>
|
||||
% }
|
||||
% my $btn = l('APPLY');
|
||||
|
||||
% $c->param(Selected => undef);
|
||||
|
||||
%= form_for "${lcPackageName}u" => (method => 'POST') => begin
|
||||
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
|
||||
%= hidden_field 'trt' => $$${prefix}_data->{trt}
|
||||
|
Loading…
x
Reference in New Issue
Block a user