Cocktail-DB/cocktail_list/templates/crea_cocktail.html

16 lines
463 B
HTML
Raw Permalink Normal View History

2020-06-04 19:53:18 +00:00
{% 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 %}