{% extends 'base.html' %} {% block content %}

Add Entry

{{ form.hidden_tag() }}
{{ form.name(class_='form-control', id='name') }} {% if form.name.errors %} {% for error in form.name.errors %} {% endfor %} {% endif %}
{{ form.title(class_='form-control', id='title') }} {% if form.title.errors %} {% for error in form.title.errors %} {% endfor %} {% endif %}
{{ form.content(class_='form-control', id='content') }} {% if form.content.errors %} {% for error in form.content.errors %} {% endfor %} {% endif %}
{{ form.content(class_='form-control', id='age') }} {% if form.content.errors %} {% for error in form.content.errors %} {% endfor %} {% endif %}
{% endblock %}