diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 79e25262..8c2a0090 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -10,6 +10,7 @@ {% block title %} - {{ g.project.name }}{% endblock %} {% block js %} {% if add_bill %} $('#new-bill > a').click(); {% endif %} + {% if edit_bill is not none %} $('#edit-bill > a').click(); {% endif %} // focus on first field when adding a bill $("#bill-form").on('shown.bs.modal', function(){ @@ -91,6 +92,25 @@ + {% if edit_bill is not none %} + + + {% endif %} +
{% if bills.pages > 1 %}