2018-07-02 21:14:10 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<!-- Page Content -->
|
|
|
|
|
|
|
|
<div class="container" style="margin-bottom:140px;">
|
|
|
|
{% include 'messages.html' %}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<!-- Post Content Column -->
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="proposal_content">
|
|
|
|
<!-- Post Content -->
|
|
|
|
<div class="media mb-4">
|
|
|
|
<div class="votearrow" title="upvote"></div>
|
|
|
|
<div class="media-body">
|
|
|
|
<span class="username"><a href="/user/{{ c.user.username }}">{{c.user.username}}</a></span>
|
|
|
|
<span class="date_posted">{{c.date_added.strftime('%Y-%m-%d %H:%M')}}</span><br>
|
2018-07-12 01:03:05 +00:00
|
|
|
<span style="word-break: break-all">
|
2018-07-02 21:14:10 +00:00
|
|
|
{{c.message}}
|
2018-07-12 01:03:05 +00:00
|
|
|
</span>
|
2018-07-02 21:14:10 +00:00
|
|
|
<br><br>
|
|
|
|
{% if logged_in %}
|
2018-08-23 08:23:53 +00:00
|
|
|
|
2018-07-02 21:14:10 +00:00
|
|
|
<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>
|
2018-08-23 08:23:53 +00:00
|
|
|
<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">
|
2018-07-02 21:14:10 +00:00
|
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
You need to be logged in to comment.
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- /.container -->
|
|
|
|
{% endblock %}
|