2018-05-09 17:53:12 +00:00
|
|
|
{% extends "base" %}
|
2018-07-06 17:29:36 +00:00
|
|
|
{% import "macros" as macros %}
|
2018-04-23 10:54:37 +00:00
|
|
|
|
2018-05-09 17:53:12 +00:00
|
|
|
{% block title %}
|
2018-06-17 15:26:15 +00:00
|
|
|
{{ "New blog" | _ }}
|
2018-05-09 17:53:12 +00:00
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-06-17 15:26:15 +00:00
|
|
|
<h1>{{ "Create a blog" | _ }}</h1>
|
2018-05-09 17:53:12 +00:00
|
|
|
<form method="post">
|
2018-07-07 20:51:48 +00:00
|
|
|
{{ macros::input(name="title", label="Title", errors=errors, form=form, props='required minlength="1"') }}
|
2018-07-06 17:29:36 +00:00
|
|
|
|
2018-06-17 20:22:34 +00:00
|
|
|
<input type="submit" value="{{ "Create blog" | _ }}"/>
|
2018-05-09 17:53:12 +00:00
|
|
|
</form>
|
2018-06-17 19:54:59 +00:00
|
|
|
{% endblock content %}
|