X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FBasicCRUD.pod;h=4276f64bba6bced1b3ce2bc6c1e382064769f928;hb=cc548726047214bd2b51a6b3a287896ac65b7b9b;hp=c3b9b1e75a4c1e9f581818aad3920a33b082de11;hpb=c09c6cd743a02ecebd5ad1277475baec2a8df400;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod b/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod index c3b9b1e..4276f64 100644 --- a/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod +++ b/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod @@ -148,8 +148,12 @@ Edit C and then enter: [% META title = 'Book Created' %] [% # Output information about the record that was added. Note use -%] - [% # of 'first' to only list the first author (if > 1 author). -%] -

Added book '[% book.title %]' by '[% book.authors.first.last_name %]' + [% # of 'first' to only list the first author (if > 1 author). TT -%] + [% # v2.15 has an issue that requires -%] + [% # 'book.authors.list.first.value.last_name' vs. the shorter -%] + [% # 'book.authors.first.last_name' in prior versions. -%] +

Added book '[% book.title %]' + by '[% book.authors.list.first.value.last_name %]' with a rating of [% book.rating %].

[% # Provide a link back to the list page -%] @@ -364,7 +368,7 @@ will be used instead of full HTML buttons). Open C in your editor and add the following method: - =head2 Delete + =head2 delete Delete a book