cc2c2573e5
This required some tweaks to the base CRUD view etc.
14 lines
439 B
Mako
14 lines
439 B
Mako
## -*- coding: utf-8 -*-
|
|
<%inherit file="/crud.mako" />
|
|
|
|
<%def name="context_menu_items()">
|
|
<li>${h.link_to("Back to Settings", url('settings'))}</li>
|
|
% if form.readonly:
|
|
<li>${h.link_to("Edit this Setting", url('settings.edit', name=form.fieldset.model.name))}</li>
|
|
% elif form.updating:
|
|
<li>${h.link_to("View this Setting", url('settings.view', name=form.fieldset.model.name))}</li>
|
|
% endif
|
|
</%def>
|
|
|
|
${parent.body()}
|
|
|