fixed '/' distinction, added history buttons, modified models

This commit is contained in:
Xevion
2019-07-02 19:04:50 -05:00
parent 3f974ce459
commit e9a00f5683
4 changed files with 50 additions and 9 deletions

View File

@@ -0,0 +1,26 @@
{% extends 'base.html' %}
{% block body %}
<!-- Search History Section -->
<section class="section section-padding">
<div class="container">
<div class="columns is-mobile is-multiline is-centered">
<div class="column">
<div class="card">
<div class="card-header">
<div class="card-header-title">
<h1 class="title">Search History</h1>
</div>
</div>
<div class="card-content">
{% for post in current_user.search_history %}
Post : {{ post }}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End Search History Section -->
{% endblock body %}