{% extends 'flask_user/_public_base.html' %}
{% block content %}

  <h1 style="text-align: center;">Tiny Pages</h1>


<div class="row">
  <div class="col-lg-12">

{{markup_content}}

{% if form %}
  
<form action="?add_page=true" method="post">

<div class="input-group mb-3">
  <span class="input-group-text" id="basic-addon1"><strong>?</strong></span>
  <input type="text" id="username" placeholder="Query" name="query" class="form-control" aria-label="Query" aria-describedby="basic-addon1">
</div>

<div class="input-group">
  <span class="input-group-text">Content</span>
  <textarea id="message" name="content" class="form-control" aria-label="Content"></textarea>
</div>

<br />  
  <p style="text-align: center;"><input class="btn btn-primary" type="submit" value="Add" /></form></p>
{% endif %}

  </div>
</div>
<p>&nbsp;</p>
{% endblock %}
