diff options
author | xengineering <me@xengineering.eu> | 2024-03-03 15:05:15 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-03-03 15:05:15 +0100 |
commit | 25fe18973f11d3db61a1ae9ca05f2bd63d3edea9 (patch) | |
tree | e641a20fe27f3ef869478a1dc01c322d1082ce33 /view/index.go | |
parent | 6b0db50680a52e4ca7e6d0ee8ed3dae6a1093d16 (diff) | |
download | ceres-25fe18973f11d3db61a1ae9ca05f2bd63d3edea9.tar ceres-25fe18973f11d3db61a1ae9ca05f2bd63d3edea9.tar.zst ceres-25fe18973f11d3db61a1ae9ca05f2bd63d3edea9.zip |
view: Replace edit by view parameter
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.
Diffstat (limited to 'view/index.go')
0 files changed, 0 insertions, 0 deletions