make FormBuilder use toTemplateVars for fields
This commit is contained in:
parent
ca42a0544d
commit
60cc89fb4f
3 changed files with 15 additions and 11 deletions
|
|
@ -712,7 +712,11 @@ to re-create it in a template.
|
|||
|
||||
sub toTemplateVars {
|
||||
my ( $self ) = @_;
|
||||
my %var = %{$self->get};
|
||||
my %var = (
|
||||
%{$self->get},
|
||||
label => $self->getLabel,
|
||||
label_nohover => $self->get('label'),
|
||||
);
|
||||
return \%var;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue