Rationalise the use of SAVE as the button title in params panel

This commit is contained in:
Brian Read 2025-06-17 14:49:20 +01:00
parent 85d274d585
commit dfa582e6cb

View File

@ -12,14 +12,15 @@
%= dumper $$${prefix}_data
</pre>
% }
% my $btn = l('APPLY');
% my $btn = l('SAVE');
% $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table
%= form_for "${lcPackageName}u" => (method => 'POST') => begin
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $$${prefix}_data->{trt}
%# Inputs etc in here.
%# ....
%# Probably finally by a submit.
%= submit_button $btn, class => 'action'
%end
</div>