aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/templates')
-rw-r--r--ihatemoney/templates/forms.html2
-rw-r--r--ihatemoney/templates/list_bills.html10
2 files changed, 1 insertions, 11 deletions
diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html
index c96921c..12cc165 100644
--- a/ihatemoney/templates/forms.html
+++ b/ihatemoney/templates/forms.html
@@ -91,7 +91,7 @@
{% if title %}<legend>{% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %}</legend>{% endif %}
{% include "display_errors.html" %}
{{ form.hidden_tag() }}
- {{ input(form.date, class="form-control datepicker", inline=True) }}
+ {{ input(form.date, class="form-control", inline=True) }}
{{ input(form.what, inline=True) }}
{{ input(form.payer, inline=True, class="form-control custom-select") }}
{{ input(form.amount, inline=True) }}
diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html
index 49293d3..597dc37 100644
--- a/ihatemoney/templates/list_bills.html
+++ b/ihatemoney/templates/list_bills.html
@@ -1,19 +1,9 @@
{% extends "sidebar_table_layout.html" %}
{% block title %} - {{ g.project.name }}{% endblock %}
-{% block head %}
- <script src="{{ url_for("static", filename="js/bootstrap-datepicker.js") }}"></script>
- <script src="{{ url_for("static", filename="js/locales/bootstrap-datepicker.fr.min.js") }}" charset="utf-8"></script>
-{% endblock %}
{% block js %}
{% if add_bill %} $('#new-bill > a').click(); {% endif %}
- $('.datepicker').datepicker({
- format: 'yyyy-mm-dd',
- weekStart: 1,
- autoclose: true,
- language: '{{ g.lang }}'
- });
// ask for confirmation before removing an user
$('.action.delete').each(function(){
var link = $(this).find('button');