Plume/templates/blogs/new.html.tera

16 lines
393 B
Plaintext
Raw Normal View History

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