Rationalise the use of SAVE as the button title in params panel
This commit is contained in:
parent
85d274d585
commit
dfa582e6cb
@ -12,14 +12,15 @@
|
|||||||
%= dumper $$${prefix}_data
|
%= dumper $$${prefix}_data
|
||||||
</pre>
|
</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
|
% $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table
|
||||||
|
|
||||||
%= form_for "${lcPackageName}u" => (method => 'POST') => begin
|
%= form_for "${lcPackageName}u" => (method => 'POST') => begin
|
||||||
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
|
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
|
||||||
%= hidden_field 'trt' => $$${prefix}_data->{trt}
|
%= hidden_field 'trt' => $$${prefix}_data->{trt}
|
||||||
%# Inputs etc in here.
|
%# Inputs etc in here.
|
||||||
|
%# ....
|
||||||
%# Probably finally by a submit.
|
%# Probably finally by a submit.
|
||||||
|
%= submit_button $btn, class => 'action'
|
||||||
%end
|
%end
|
||||||
</div>
|
</div>
|
Loading…
x
Reference in New Issue
Block a user