diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2012-09-03 11:43:29 -0700 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2012-09-03 11:43:29 -0700 |
| commit | 4f811ffc7209cd096d52001ee37d2555f4feaed2 (patch) | |
| tree | b80fd2cfc3c461b60a510e73464a7e26098cdb90 /budget/templates/layout.html | |
| parent | 688a2814646988a536cc9ff693db17d8bc732a27 (diff) | |
| parent | d0129abc0edca656ae84419b9428a4212d9be00d (diff) | |
| download | ihatemoney-mirror-4f811ffc7209cd096d52001ee37d2555f4feaed2.zip ihatemoney-mirror-4f811ffc7209cd096d52001ee37d2555f4feaed2.tar.gz ihatemoney-mirror-4f811ffc7209cd096d52001ee37d2555f4feaed2.tar.bz2 | |
Merge pull request #90 from aavenel/master
Bugfix : display calendar widget when editing a bill
Diffstat (limited to 'budget/templates/layout.html')
| -rw-r--r-- | budget/templates/layout.html | 10 |
1 files changed, 9 insertions, 1 deletions
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 @@ <script src="{{ url_for("static", filename="js/jquery-1.7.2.min.js") }}"></script> <script src="{{ url_for("static", filename="js/ihatemoney.js") }}"></script> <script src="{{ url_for("static", filename="js/bootstrap.min.js") }}"></script> + <script src="{{ url_for("static", filename="js/bootstrap-datepicker.js") }}"></script> {% block head %}{% endblock %} <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ @@ -19,7 +20,14 @@ }); }, 4000); - $('.dropdown-toggle').dropdown() + $('.datepicker').datepicker({ + format: 'yyyy-mm-dd', + weekStart: 1, + autoclose: true, + language: '{{ g.lang }}' + }); + + $('.dropdown-toggle').dropdown(); {% block js %}{% endblock %} }); |
