Compare commits

..

No commits in common. "1e5aecbd0b191d2ab7d9204940e65583d5bc4a28" and "3eed3e280d1456ddb55b766174a9f507e8b0d7f6" have entirely different histories.

1 changed files with 3 additions and 8 deletions

View File

@ -8,7 +8,6 @@
</head> </head>
<body> <body>
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #000;"> <nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #000;">
<div class="container">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="/media/logo.jpg" alt="BH Logo" height="40"> Beyond Heroes <img src="/media/logo.jpg" alt="BH Logo" height="40"> Beyond Heroes
</a> </a>
@ -32,10 +31,7 @@
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li class="nav-item"> <li class="nav-item">
{% if user.is_staff %} {% if user.is_staff %}
<form action="{% url 'BlogCreate' %}" method="get"> <a class="nav-link" href="{% url 'BlogCreate' %}">Post</a>
{% csrf_token %}
<button class="nav-link btn btn-link" type="submit">Post</button>
</form>
{% endif %} {% endif %}
</li> </li>
<li class="nav-item"> <li class="nav-item">
@ -54,7 +50,6 @@
{% endif %} {% endif %}
</ul> </ul>
</div> </div>
</div>
</nav> </nav>
{% block content %} {% block content %}