Finish version

This commit is contained in:
Andros Fenollosa
2021-06-25 14:25:14 +02:00
parent 9f6fcf447d
commit 4d6f73ac63
7 changed files with 59 additions and 17 deletions

View File

@ -1,10 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>
{% extends 'layouts/base.html' %}
{% block title %}Añadir nueva noticia{% endblock %}
{% block main %}
<form novalidate method="post">
{% csrf_token %}
{{ news_form.as_p }}
<p>
<input type="submit" value="Guardar">
</p>
</form>
{% endblock %}