Cocktail-DB/cocktail_list/templates/crea_cocktail.html

16 lines
463 B
HTML

{% extends 'base.html' %}
{% load static %}
{% load crispy_forms_tags %}
{% block css %}
<link rel="stylesheet" href="{% static 'css/navbar_style.css' %}">
{% endblock css %}
{% block content %}
<form method="POST" enctype="multipart/form-data" class="mt-3">
{% csrf_token %}
{{ form|crispy }}
<div class="row no-gutters"><input type="submit" class="btn btn-outline-info mb-3 mx-auto" value="Crea Cocktail"></div>
</form>
{% endblock content %}