Socialify

Folder ..

Viewing category_topbar.html
23 lines (23 loc) • 641.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="float-right">
  <a href="{% url 'blog-admin:new-category' %}">Create New Category</a>
  <form
    style="display: inline-block; margin-left: 10px"
    action="{% url 'blog-admin:users-search' %}"
    method="get"
  >
    <input
      style="display: inline-block"
      type="text"
      name="q"
      placeholder="Search Categories"
      autocomplete="off"
    />
    <input style="display: inline-block" type="submit" value="Search" />
  </form>
</div>
<h1 style="font-size: 2em">{{ title }}</h1>
<hr />
<br>
{% for message in messages %}
<p class="{{message.tags}}" style="text-align: center">{{ message }}</p>
{% endfor %}