From 73fcf84d595876ffeb7d85c5ab0bf0a9b3f4cdcf Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 14 Nov 2016 17:51:23 -0600 Subject: [PATCH] Disable save button when creating new object --- tailbone/templates/master/create.mako | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tailbone/templates/master/create.mako b/tailbone/templates/master/create.mako index 510de6a9..4ea7cadb 100644 --- a/tailbone/templates/master/create.mako +++ b/tailbone/templates/master/create.mako @@ -3,6 +3,23 @@ <%def name="title()">New ${model_title} +<%def name="head_tags()"> + ${parent.head_tags()} + + + <%def name="context_menu_items()"> % if request.has_perm('{}.list'.format(permission_prefix)):
  • ${h.link_to("Back to {}".format(model_title_plural), index_url)}