Show messagebox about posting images

This commit is contained in:
Sander Ferdinand 2018-08-23 10:23:53 +02:00
parent dcf2c77413
commit cbf3f219d0
2 changed files with 19 additions and 2 deletions

View File

@ -21,11 +21,20 @@
</span>
<br><br>
{% if logged_in %}
<form method="post" action="{{url_for('proposal_comment')}}">
<input type="hidden" name="pid" value="{{pid}}">
<input type="hidden" name="cid" value="{{cid}}">
<textarea class="comment" name="text" rows="6" cols="60"></textarea>
<br><br><input type="submit" value="add comment">
<br><br>
<div class="row">
<div class="col-md-10">
<div class="alert alert-secondary" role="alert">
Posting imgur/imgflip media can be done by linking directly to the image, no [img] bbcode needed.
</div>
</div>
</div>
<input type="submit" value="add comment">
</form>
{% else %}
You need to be logged in to comment.

View File

@ -7,7 +7,15 @@
<form method="post" action="comment">
<input type="hidden" name="pid" value="{{proposal.id}}">
<textarea class="comment" name="text" rows="6" cols="60"></textarea>
<br><br><input type="submit" value="add comment">
<br><br>
<div class="row">
<div class="col-md-8">
<div class="alert alert-secondary" role="alert">
Posting imgur/imgflip media can be done by linking directly to the image, no [img] bbcode needed.
</div>
</div>
</div>
<input type="submit" value="add comment">
</form>
{% else %}
You need to be logged in to comment.