Help for this page

Select Code to Download


  1. or download this
    # list clients
    get '/clients' => sub {
    ...
          resultset('Client')->search( {}, { join => ['country'], } );
        template 'clients' => { clients => \@clients_and_countries };
    };
    
  2. or download this
    # change clients
    get '/client-bewerk/:id' => sub {
    ...
    
        template 'add-client', { myform => $form };
    };