blob: 24dd8d7acc4eaf288bc7399d3e1faf17ef5866e8 [file] [log] [blame]
Anand Doshi51146c02012-07-12 18:41:12 +05301{% extends "html/page.html" %}
2
3{% block javascript %}
4 {% include "js/blog_page.js" %}
5{% endblock %}
6
7{% block css %}
8 {% include "css/blog_page.css" %}
9{% endblock %}
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053010
11{% block content %}
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053012<div class="span12">
13 <h2>{{ title }}</h2>
Anand Doshi72c945b2012-06-22 20:01:07 +053014
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053015 <!-- begin blog content -->
16 <div class="help">By {{ full_name }} on {{ updated }}</div>
17 <br>
18 {{ content_html }}
19 <!-- end blog content -->
Anand Doshi51146c02012-07-12 18:41:12 +053020
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053021 <hr>
22 <h3>Comments</h3><br>
23 <div class="blog-comments">
24
25 {% if not comment_list %}
26 <div class="alert no-comment">
27 <p>Be the first one to comment</p>
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053028 </div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053029 {% endif %}
30
31 {% include 'html/comment.html' %}
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053032 </div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053033 <div><button class="btn add-comment">Add Comment</button></div>
34 <div style="display: none; margin-top: 10px;"
35 id="comment-form" class="well">
36 <div class="alert" style="display:none;"></div>
37 <form>
38 <p>
39 <input name="comment_by_fullname" placeholder="Your Name" />
40 </p>
41 <p>
42 <input name="comment_by" placeholder="Your Email Id" />
43 </p>
44 <p>
45 <textarea name="comment" placeholder="Comment" style="width: 300px; height: 120px;"/>
46 </textarea>
47 </p>
48 <p>
49 <button class="btn btn-info" id="submit-comment">Submit</button>
50 </form>
51 </div>
52</div>
Anand Doshi72c945b2012-06-22 20:01:07 +053053{% endblock %}