Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Dancer2, DBIx::Class and HTML::FormFu: showing database record in html-form to edit

by GertMT (Hermit)
on Oct 01, 2018 at 20:48 UTC ( [id://1223368]=perlquestion: print w/replies, xml ) Need Help??

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 };
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1223368]
Approved by marto
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-24 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found