Fix head_tags() template inheritance bug

this broke lots of things!
This commit is contained in:
Lance Edgar 2018-11-28 19:44:09 -06:00
parent 23ce2fb33c
commit 3a982f6e38
3 changed files with 6 additions and 4 deletions

View file

@ -17,7 +17,7 @@
</style>
% endif
${base_meta.head_tags()}
${self.head_tags()}
</head>
<body>
@ -201,6 +201,8 @@
<%def name="extra_styles()"></%def>
<%def name="head_tags()"></%def>
<%def name="wtfield(form, name, **kwargs)">
<div class="field-wrapper${' error' if form[name].errors else ''}">
<label for="${name}">${form[name].label}</label>

View file

@ -8,8 +8,6 @@
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
</%def>
<%def name="head_tags()"></%def>
<%def name="header_logo()"></%def>
<%def name="footer()">

View file

@ -17,7 +17,7 @@
</style>
% endif
${base_meta.head_tags()}
${self.head_tags()}
</head>
<body>
@ -204,6 +204,8 @@
<%def name="extra_styles()"></%def>
<%def name="head_tags()"></%def>
<%def name="wtfield(form, name, **kwargs)">
<div class="field-wrapper${' error' if form[name].errors else ''}">
<label for="${name}">${form[name].label}</label>