Fix head_tags()
template inheritance bug
this broke lots of things!
This commit is contained in:
parent
23ce2fb33c
commit
3a982f6e38
|
@ -17,7 +17,7 @@
|
||||||
</style>
|
</style>
|
||||||
% endif
|
% endif
|
||||||
|
|
||||||
${base_meta.head_tags()}
|
${self.head_tags()}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -201,6 +201,8 @@
|
||||||
|
|
||||||
<%def name="extra_styles()"></%def>
|
<%def name="extra_styles()"></%def>
|
||||||
|
|
||||||
|
<%def name="head_tags()"></%def>
|
||||||
|
|
||||||
<%def name="wtfield(form, name, **kwargs)">
|
<%def name="wtfield(form, name, **kwargs)">
|
||||||
<div class="field-wrapper${' error' if form[name].errors else ''}">
|
<div class="field-wrapper${' error' if form[name].errors else ''}">
|
||||||
<label for="${name}">${form[name].label}</label>
|
<label for="${name}">${form[name].label}</label>
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="head_tags()"></%def>
|
|
||||||
|
|
||||||
<%def name="header_logo()"></%def>
|
<%def name="header_logo()"></%def>
|
||||||
|
|
||||||
<%def name="footer()">
|
<%def name="footer()">
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
</style>
|
</style>
|
||||||
% endif
|
% endif
|
||||||
|
|
||||||
${base_meta.head_tags()}
|
${self.head_tags()}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -204,6 +204,8 @@
|
||||||
|
|
||||||
<%def name="extra_styles()"></%def>
|
<%def name="extra_styles()"></%def>
|
||||||
|
|
||||||
|
<%def name="head_tags()"></%def>
|
||||||
|
|
||||||
<%def name="wtfield(form, name, **kwargs)">
|
<%def name="wtfield(form, name, **kwargs)">
|
||||||
<div class="field-wrapper${' error' if form[name].errors else ''}">
|
<div class="field-wrapper${' error' if form[name].errors else ''}">
|
||||||
<label for="${name}">${form[name].label}</label>
|
<label for="${name}">${form[name].label}</label>
|
||||||
|
|
Loading…
Reference in a new issue