109 |
|
|
110 |
form { |
form { |
111 |
render_action( $action => [ 'uid_contains', 'cn_contains' ] ); |
render_action( $action => [ 'uid_contains', 'cn_contains' ] ); |
112 |
form_submit( label => _('Find someone') ); |
form_submit( label => _('Search') ); |
113 |
}; |
}; |
114 |
|
|
115 |
# warn dump( $action->result->content ); |
# warn dump( $action->result->content ); |
116 |
|
|
117 |
if ( my $search = $action->result->content('search') ) { |
if ( my $search = $action->result->content('search') ) { |
118 |
div { sprintf(_('Found %d results'), $search->count ) } |
div { _('Found %1 results', $search->count ) } |
119 |
table { |
table { |
120 |
while (my $user = $search->next) { |
while (my $user = $search->next) { |
121 |
row { |
row { |