codigocomentado/templates/admin/add_post.html.tera

18 lines
421 B
Plaintext

{% extends "base" %}
{% block content %}
<form action="" method="post">
<p>
<label for="">Título</label>
<input name="title" type="text"/>
<label for="">Publicar</label>
<input name="published" type="checkbox" value="true"/>
</p>
<p>
<label for="">Contenido</label>
<textarea cols="30" name="content" rows="10"></textarea>
</p>
<button>Publicar</button>
</form>
{% endblock content %}