Make it possible to add a new platform

This commit is contained in:
2023-01-04 17:23:34 +01:00
parent 4c642d97cb
commit bf61326c18
5 changed files with 23 additions and 2 deletions

View File

@ -23,6 +23,7 @@
<ul
class="flex flex-col md:flex-row p-4 mt-4 dark:text-white">
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'add_game' %}">New Game</a></li>
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'add_platform' %}">New Platform</a></li>
{% if game_available and platform_available %}
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'add_purchase' %}">New Purchase</a></li>
{% endif %}