Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-03 | view: Provide recipe deletion | xengineering | |
2024-03-03 | view: Replace edit by view parameter | xengineering | |
The old edit URL parameter allowed to select one different HTML template. A more generic approach is to provide a view parameter which allows to use multiple alternative HTML templates for the same data defined by the Go struct. This makes implementing additional pages like a confirm page for recipe deletion easier. | |||
2024-02-15 | view: Add doctype to HTML | xengineering | |
2024-02-15 | view: Reference /recipes with home button | xengineering | |
The index page / provides a redirect to /recipes but this is inefficient since two HTTP requests are required. | |||
2024-02-15 | view: Add edit view for model.Recipe type | xengineering | |
2024-02-13 | view: Implement GET handler for model.Recipe | xengineering | |