summaryrefslogtreecommitdiffstats
path: root/ustayml/templates/blog/create.html
blob: 9132641ce188788e1f1bfc83f90ec34f5fa6ea80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends 'base.html' %}

{% block header %}
  <h1>{% block title %}New Post{% endblock %}</h1>
{% endblock %}

{% block content %}
  <form method="post">
    <label for="title">Title</label>
    <input name="title" id="title" value="{{ request.form['title'] }}" required>
    <label for="body">Body</label>
    <textarea name="body" id="body">{{ request.form['body'] }}</textarea>
    <input type="submit" value="Aplicar">
  </form>
{% endblock %}