Fix layout template is_authenticated call
Differential revision: https://developer.blender.org/D3136
This commit is contained in:
parent
9ed526510f
commit
157eed8321
@ -86,7 +86,7 @@ html(lang="en")
|
|||||||
|
|
||||||
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.bootstrap-3.3.7.min.js') }}")
|
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.bootstrap-3.3.7.min.js') }}")
|
||||||
|
|
||||||
| {% if current_user.is_authenticated() %}
|
| {% if current_user.is_authenticated %}
|
||||||
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.typewatch-3.0.0.min.js') }}")
|
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.typewatch-3.0.0.min.js') }}")
|
||||||
script.
|
script.
|
||||||
// When sending an AJAX request, always add the X-CSRFToken header to it.
|
// When sending an AJAX request, always add the X-CSRFToken header to it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user