diff --git a/budget/templates/add_bill.html b/budget/templates/add_bill.html index 71bb6f0..595f363 100644 --- a/budget/templates/add_bill.html +++ b/budget/templates/add_bill.html @@ -1,16 +1,7 @@ {% extends "layout.html" %} -{% block head %} - - {% if g.lang != "en" %} - - {% endif %} -{% endblock %} {% block js %} $('#cancel-form').click(function(){location.href={{ url_for(".list_bills") }};}); - $.datepicker.setDefaults({'dateFormat': 'yy-mm-dd'}); - $(".datepicker").datepicker($.datepicker.regional['{{ g.lang }}']); - {% endblock %} diff --git a/budget/templates/layout.html b/budget/templates/layout.html index 71ad5e8..8e6d3b2 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -8,6 +8,7 @@ + {% block head %}{% endblock %}