center form

This commit is contained in:
Pierre-antoine Comby 2020-03-06 20:16:44 +01:00
parent 38feb693f3
commit deb19e45c1
1 changed files with 2 additions and 0 deletions

View File

@ -2,10 +2,12 @@
{% load i18n static pretty_money django_tables2 crispy_forms_tags %} {% load i18n static pretty_money django_tables2 crispy_forms_tags %}
{% block profile_content %} {% block profile_content %}
<div class="text-center">
<form method="post" enctype="multipart/form-data" id="formUpload"> <form method="post" enctype="multipart/form-data" id="formUpload">
{% csrf_token %} {% csrf_token %}
{{ form |crispy }} {{ form |crispy }}
</form> </form>
</div>
<!-- MODAL TO CROP THE IMAGE --> <!-- MODAL TO CROP THE IMAGE -->
<div class="modal fade" id="modalCrop"> <div class="modal fade" id="modalCrop">
<div class="modal-dialog"> <div class="modal-dialog">