Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "index.html" %}
- {% block sidebar %}
- <div class="well">
- <h4>FROM THE ARCHIVES</h4>
- <div class="row">
- <div class="col-lg-6">
- {% for year in year_list %}
- {% for month in month_list %}
- <ul class="list-unstyled">
- <li>
- <a href="{% url 'blog.monthSort' year|date:'Y' month|date:'m' %}">{{ month|date:'F' }}, {{ year|date:'Y' }}</a>
- </li>
- </ul>
- {% endfor %}
- {% endfor %}
- </div>
- </div>
- </div>
- <hr>
- <div class="well">
- <h4>Blog Search</h4>
- <div class="input-group">
- <input type="text" class="form-control" >
- <span class="input-group-btn">
- <button class="btn btn-default" type="button">
- <span class="glyphicon glyphicon-search"></span>
- </button>
- </span>
- </div>
- </div>
- {% endblock %}
Add Comment
Please, Sign In to add comment