Commit 50ac4d40 authored by Brian Guadalupe's avatar Brian Guadalupe

Fixed some templates

parent 7f6fdf8f
No preview for this file type
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{% block title %}MyMusicList Login{% endblock %}</title> <title>{% block title %}MyMusicList{% endblock %}</title>
</head> </head>
<body> <body>
<header> <header>
...@@ -15,11 +15,9 @@ ...@@ -15,11 +15,9 @@
<a href="{% url 'signup' %}">sign up</a> <a href="{% url 'signup' %}">sign up</a>
{% endif %} {% endif %}
</header> </header>
<hr>
<main> <main>
{% block content %} {% block content %}
{% endblock %} {% endblock %}
</main> </main>
<hr>
</body> </body>
</html> </html>
{% extends 'base.html' %} {% extends 'base.html' %}
{% block title %}Login{% endblock %} {% block title %}MyMusicList{% endblock %}
{% block content %} {% block content %}
<h2>Home</h2> <h2>Home</h2>
{% if user.is_authenticated %}
<a href="/profile/{{user.username}}">View your profile</a> <a href="/profile/{{user.username}}">View your profile</a>
{% endif %}
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment