SQLForm: added a template var to the Search Record template.

This commit is contained in:
Yung Han Khoe 2007-01-26 17:19:21 +00:00
parent 4b18225144
commit 23e466d891
2 changed files with 4 additions and 0 deletions

View file

@ -4102,6 +4102,7 @@ my @recordLoop;
while (my %row = $sth->hash) {
my %record;
my $fieldValues;
$record{'record.id'} = $row{__recordId};
if ($self->_canEditRecord) {
if ($row{__deleted}) {
$recordControls = WebGUI::Form::checkbox($self->session, {name=>'rid', value=>$row{__recordId}});

View file

@ -461,6 +461,9 @@ our $HELP = {
{
'name' => 'searchResults.recordLoop',
'variables' => [
{
'name' => 'record.id',
},
{
'name' => 'record.controls',
},