+form_contacto.html API Forms
This commit is contained in:
parent
27da4c5174
commit
3119a25533
17
TiendaOnline/gestionPedidos/templates/form_contacto.html
Normal file
17
TiendaOnline/gestionPedidos/templates/form_contacto.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user