<html>
<head>
- <link rel="stylesheet" href="http://127.0.0.1:8000/sandwiches/style.css" type="text/css">
+ <link rel="stylesheet" href="{{ media_url }}sandwiches/style.css" type="text/css">
<title>{% block title %}Ma'ayanwich Tracker{% endblock %}</title>
{% block extrahead %}{% endblock %}
</head>
<h3 class="navtitle">Account</h3>
<ul class="nav">
{% if user.is_authenticated %}
+ <li><a href="{% url sandwich_user username=request.user.username %}" class="navlink">My Sandwiches</a></li>
<li><a href="{% url add_sandwich %}" class="navlink">Add sandwich</a></li>
+ <li><a href="{% url edit_user gusername=request.user.username %}" class="navlink">User Settings</a></li>
<li><a href="{% url logout %}" class="navlink">Logout</a></li>
{% else %}
<li><a href="{% url login %}" class="navlink">Login</a></li>
{% endfor %}
</ul>
<ul class="newest">
- <li><a href="{% url all_sandwiches %}" class="navlink">All sandwiches</a></li>
+ <li><a href="{% url index_sandwich %}" class="navlink">All sandwiches</a></li>
</ul>
</div>
<div id="content">