add (some of) Product CRUD
This commit is contained in:
parent
da95cb8614
commit
2cbe1a0c44
3 changed files with 25 additions and 4 deletions
8
rattail/pyramid/templates/products/crud.mako
Normal file
8
rattail/pyramid/templates/products/crud.mako
Normal file
|
@ -0,0 +1,8 @@
|
|||
<%inherit file="/products/base.mako" />
|
||||
<%inherit file="/crud.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
<p>${h.link_to("Back to Products", url('products'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
2
rattail/pyramid/templates/products/read.mako
Normal file
2
rattail/pyramid/templates/products/read.mako
Normal file
|
@ -0,0 +1,2 @@
|
|||
<%inherit file="/products/crud.mako" />
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue