X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F09_AdvancedCRUD%2F09_FormFu.pod;h=c3fd46670371a9cee131034f7f5cca229b076941;hp=0dcc0af076f0bce5e859f65b457a645faad020da;hb=429d1caf111575afa4c25287cc48d7ed712af327;hpb=7ce05098c9b1df9078e709e5a724e821a3b3b00d diff --git a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod index 0dcc0af..c3fd466 100644 --- a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod +++ b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod @@ -510,21 +510,21 @@ error message and return to the book list. =item * If the form has been submitted and passes validation, we skip creating a -new book and just use C<$form-Emodel-Eupdate> to update the +new book and just use C<< $form->model->update >> to update the existing book. =item * If the form is being displayed for the first time (or has failed validation and it being redisplayed), we use -C<$form-Emodel-Edefault_values> to populate the form with data +C<< $form->model->default_values >> to populate the form with data from the database. =back Then, edit C and add a new link below the existing "Delete" link that allows us to edit/update each existing book. -The last EtdE cell in the book list table should look like the +The last cell in the book list table should look like the following: ...