- or download this
<select name=city_id>
<TMPL_LOOP cities>
...
<TMPL_VAR city_name>
</TMPL_LOOP>
</select>
- or download this
<select name=city_id>
<TMPL_LOOP cities>
<option value="<TMPL_VAR id>"><TMPL_VAR city_name>
</TMPL_LOOP>
</select>
- or download this
sub _getBuilderList {
my $self = shift;
...
return $cities;
}
- or download this
my $city_list= $self->_getBuilderList;
...
scalarref => \$template->output,
fobject => $self->query,
);
- or download this
$self->query->param( city_id => $some_value );
# HTML::FillInForm code as before
- or download this
sub _getBuilderList {
my $self = shift;
...
+
return;
}