{% extends "layout.html" %} {% block js %} {% include "helpers.js" %} confirm_action("#delete-project") $('.custom-file-input').on('change', function(event) { var filename = [].slice.call(this.files).map(function (file) { return file.name}).join(',') var $labelElement = $(this).parents('.custom-file').find('.custom-file-label') $labelElement.text(filename) }) {% endblock %} {% block content %}

{{ _("Edit project") }}

{{ forms.edit_project(edit_form) }}

{{ _("Delete project") }}

{{ forms.delete_project(delete_form) }}

{{ _("Import project") }}

{{ forms.import_project(import_form) }}

{{ _("Download project's data") }}

{{ _('Bill items') }} {{ static_include("images/file-alt.svg") | safe }} JSON {{ static_include("images/file-csv-solid.svg") | safe }} CSV

{{ _('Download the list of bills with owner, amount, reason,... ') }}

{{ _('Settle plans') }} {{ static_include("images/file-alt.svg") | safe }} JSON {{ static_include("images/file-csv-solid.svg") | safe }} CSV

{{ _('Download the list of transactions needed to settle the current bills.') }}

{% endblock %}