{% extends "index.html" %}
{% from "_macros.html" import render_field %}

{% block title %}New Post{% endblock %}

{% block content %}
<form method="POST" action="{{ url_for('add_post') }}">
  <fieldset>
    <legend>Add an Article</legend>
    {{ form.csrf_token }}
    {{ render_field(form.title) }}
    {{ render_field(form.leading) }}
    {{ render_field(form.content) }}
    <button type="submit" class="btn btn-primary">Save</button>
  </fieldset>
</form>
{% endblock %}

{% extends "index.html" %}
{% from "_macros.html" import render_field %}

{% block title %}New Post{% endblock %}

{% block content %}
<form method="POST" action="{{ url_for('add_post') }}">
  <fieldset>
    <legend>Add an Article</legend>
    {{ form.csrf_token }}
    {{ render_field(form.title) }}
    {{ render_field(form.leading, rows='5') }}
    {{ render_field(form.content, rows='10') }}
    <button type="submit" class="btn btn-primary">Save</button>
  </fieldset>
</form>
{% endblock %}

Set number of rows on the leading and content textarea.
Set number of rows on the leading and content textarea.
