[Django] Search Bar
home.html
The first thing I want to do is make sure the entire page is wrapped in a div so we're going to go ahead and wrap that in a div and we're going to give this the class of home dash containers, we're going to have to use css grids for this.
<div class = "home=container">
inside of <div> </div> , we want to create a div here for our side bar. so they're going to be ..
{% extends 'main.html' %}
{% block content %}
<div class = "home=container">
<div>
<h3>Browse Topics</h3>
<hr>
</div>
<a href="{% url 'create-room' %}">Create Room</a>
<div>
{% for room in rooms %}
<div>
<a href="{% url 'update-room' room.id %}">Edit</a>
<a href="{% url 'delete-room' room.id %}">Delete</a>
<span>@{{room.host.username}}</span>
<h5>{{room.id}} -- <a href="/room/{{room.id}}">{{room.name}}</a></h5>
<small>{{room.topic.name}}</small>
<hr>
</div>
{% endfor %}
</div>
</div>
{% endblock %}
and you see "browse topics" on the page.