demo-hackernews-with-django.../app/web/templates/pages/add-news.html

11 lines
267 B
HTML
Raw Permalink Normal View History

2021-06-25 14:25:14 +02:00
{% 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 %}