upload_logo.html 686 B

1234567891011121314151617181920
  1. {% extends 'admin/base_site.html' %}
  2. {% block title %}Настройка системы{% endblock %}
  3. {% block content %}
  4. <form method="POST" action="" enctype="multipart/form-data" style="width:50%;">
  5. {% csrf_token %}
  6. <div class="input-group mb-3">
  7. <label for="{{form.namesystem.id_for_label}}">{{form.namesystem.label}}: </label>{{form.namesystem}}
  8. </div>
  9. <div class="input-group mb-3">
  10. <div class="custom-file">
  11. <label class="custom-file-label" for="{{form.logo.id_for_label}}">{{form.logo.label}}: </label>{{form.logo}}
  12. </div>
  13. <div class="input-group-append">
  14. <button class="btn btn-primary">Upload</button>
  15. </div>
  16. </div>
  17. </form>
  18. {% endblock %}