<section class="container-fluid gnqa-copy"> <header class="row"> <div class="panel panel default col-sm-6 col-sm-offset-3"> <div class="panel panel-default"> <div class="panel-heading"> <div> <h4 class="text-primary">You search History </h4> </div> </div> </div> </div> </header> <div class="container row"> <div class="panel panel-default col-sm-6 col-sm-offset-3 "> {% for record in prev_queries %} <div class="panel-body"> <div class="row"> <input name="" type="checkbox" value="" class="col-sm-1"> <div class="col-sm-10"> {% for id,val in record.items() %} <button hx-get="/gnqna/hist/search/{{id}}" hx-target="#swap" hx-swap="innerHTML" hx-trigger= "click" data-bs-toggle="tooltip" data-bs-placement="left" title="/gnqna/hist/search?{{id}}" style="background:transparent;border:none;cursor:pointer" > <b class="text-info">{{val}} </b> </button> {% endfor %} </div> </div> </div> {% endfor %} </div> </div> </div> </section>