Anonymous Anonymous - 6 days ago
119 0

No description

HTML

HTML1231231

<div class="dropdown">
    <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">{{ previous_searches|length }} earlier searches on {{ keyword }}
      <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
      {% for search in previous_searches[::-1] %}
      <li class="old-search"><a href="#"><span>{{ search[4] }}</span> by 
      <span>{{ search[1] }}</span> {{ search[2] }} {{ '#' }} {{ search[3] }}
      <span class="hidden">{{search[0]}}</span>
      <span class="hidden"> {{keyword}}</span></a></li>
      {% endfor %}
    </ul>
  </div>