3 Reaction::Manual::Cookbook - Miscellaneous recipes
7 These should include some hopefully useful tips and tricks!
11 These would typically go in your /root directory along with your other
14 =head3 Alternating listview row styles with CSS
20 PROCESS base/listview;
22 row_block = 'listview_row_fancy';
24 BLOCK listview_row_fancy;
26 IF loop.count % 2 == 1;
29 attrs.class = 'light';
38 =head3 Displaying heading on action forms
44 PROCESS base/form_base;
46 main_block = 'form_base_control_fancy';
48 BLOCK form_base_control_fancy;
50 action_class = self.action.meta.name.split('::').pop;
51 '<h3>'; action_class.split('(?=[A-Z])').join(' '); '</h3>';
52 INCLUDE form_base_control;
68 See L<Reaction::Class> for authors.
72 See L<Reaction::Class> for the license.