<%def name="formatting()">
${h.help_link(_("formatting hints"), 'formatting')|n}
<%def name="savebox(cancel_url, save_text=None)">
%if cancel_url is not None: ${_("or")} ${_("cancel")} %endif
<%def name="form_watch(entity, checked=False)"> %if can.watch.create(): <% if entity: checked = checked or (h.find_watch(entity) is not None) %> ${_("Notify me of updates.")} %endif <%def name="watch(entity)"> %if c.user: <% watch = h.find_watch(entity) %> %if watch and can.watch.delete(watch): ${_("unwatch")} %elif can.watch.create(): ${_("watch")} %endif %endif