You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
{% block header %}
|
|
|
<h2>{%block title %}Añade entrada{%endblock title%}</h2>
|
|
|
{%endblock header %}
|
|
|
|
|
|
{%block content %}
|
|
|
<form method="post">
|
|
|
<div class="form-group">
|
|
|
<label for="author">Tu nombre</label>
|
|
|
<input type="text" name="author" id="author" value="{{ request.form['author']}}" class="form-control">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label for="message">Tu mensaje</label>
|
|
|
<textarea name="message" id="message" class="form-control">{{request.form['message']}}</textarea>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<input type="submit" value="Publica mensaje" class="submit-btn">
|
|
|
</div>
|
|
|
</form>
|
|
|
{%endblock content %}
|