131 | | Add a menu: |
132 | | {{{ |
133 | | # Options Menu (available in all Functions' Views) |
134 | | response.menu_options = [ |
135 | | [T("Home"), False, URL(f="index")], |
136 | | [T("Add Vehicle"), False, URL(f="vehicle", args="create")], |
137 | | [T("List Vehicles"), False, URL(f="vehicle")], |
138 | | [T("Search Vehicles"), False, URL(f="vehicle", args="search")] |
139 | | ] |
140 | | }}} |
| 131 | A basic navigation menu will be constructed by default for each view page, and a menu item for the module's landing page will be added to the top menu bar or its More menu. |
| 132 | |
| 133 | For custom menus, see [wiki:DeveloperGuidelines/Menus Menus] |