-- orders/view.wo — the confirmation page and the orders table. -- Raw text literals for the bodies; see product_list/view.wo for the -- convention. use view pub class OrderOk { name: Text qty: Int total: Float fn render() -> Text { return `
`; } } pub class OrderRow { name: Text qty: Int total: Float status: Text fn render() -> Text { return `No orders yet — go buy something.
`; } return `| Product | Qty | Total | Status |
|---|