+form_contacto.html API Forms

This commit is contained in:
jp.av.dev 2020-11-15 15:50:42 -03:00
parent 27da4c5174
commit 3119a25533

View File

@ -0,0 +1,17 @@
<html>
<head>
<title>Contacto</title>
</head>
<body>
<h1>Formulario de contacto</h1>
{% if forms.errors %}
<p style="color:red;"> Por favor revisa este campo</p>
{% endif %}
<form action="" method="POST">{% csrf_token %}
<table>
{{ form.as_table}}
</table>
<input type="submit" value="Enviar">
</form>
</body>
</html>