mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 13:01:50 +02:00

Fix #417 * New tab upload * Extract data from JSON * Add users * Black format * Try to add bill * Import bills * Add french translation msg * Black reformat missing * Deactivated users are supported * Test import * Remove temp file in upload_json() * Incomplete tests * tests import * Update ihatemoney/translations/fr/LC_MESSAGES/messages.po Co-Authored-By: Rémy HUBSCHER <hubscher.remy@gmail.com> * Remove useless variable and check json format * Use String.IO and test for wrong json * Remove coma Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
10 lines
256 B
HTML
10 lines
256 B
HTML
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
<h2>{{ _("Import JSON") }}</h2>
|
|
<p>
|
|
<form class="form-horizontal" method="post" enctype="multipart/form-data">
|
|
{{ forms.upload_json(form) }}
|
|
</form>
|
|
</p>
|
|
{% endblock %}
|