refactor(templates/render): Add generic post editing template

Adds a generic template that can be used for submitting, responding to
and editing posts.
This commit is contained in:
Vincent Ambo 2018-04-15 21:13:20 +02:00
parent 4c0e6552e8
commit ec712cc4c0
6 changed files with 156 additions and 72 deletions

View file

@ -55,7 +55,7 @@
<input type="hidden" id="thread_id" name="thread_id" value="{{ id }}">
<label for="body">You can use <strong>Markdown</strong>!</label>
<div class="input-group">
<textarea class="form-control" id="body" name="body" aria-label="thread response" rows="10"></textarea>
<textarea class="form-control" id="post" name="post" aria-label="thread response" rows="10"></textarea>
<div class="input-group-append">
<button class="btn btn-primary" type="submit">Post!</button>
</div>