basic import export working

This commit is contained in:
vabene1111
2020-04-25 22:26:59 +02:00
parent 43eb10e488
commit 85a4d5d432
3 changed files with 68 additions and 23 deletions

View File

@@ -6,5 +6,14 @@
{% block title %}{% trans 'Import Recipes' %}{% endblock %}
{% block content %}
<div class="row">
<div class="col col-md-12">
<form action="." method="post">
{% csrf_token %}
{{ form|crispy }}
<button class="btn btn-success" type="submit"><i class="fas fa-file-import"></i> {% trans 'Import' %}
</button>
</form>
</div>
</div>
{% endblock %}