equal
deleted
inserted
replaced
50 {% if user.is_authenticated %} |
50 {% if user.is_authenticated %} |
51 <li>{{ user.username }}</li> |
51 <li>{{ user.username }}</li> |
52 <li><a href="logout" >{% trans "Logout" %}</a></li> |
52 <li><a href="logout" >{% trans "Logout" %}</a></li> |
53 {% else %} |
53 {% else %} |
54 <form id="search" method="post" action="."> |
54 <form id="search" method="post" action="."> |
55 {{form.as_p}} |
55 {{ form.as_p }} |
56 <input type="submit" value="login" /> |
56 <input type="submit" value="login" /> |
57 </form> |
57 </form> |
58 <li><a href="/accounts/register">Register</a> </li> |
58 <li><a href="/accounts/register">Register</a> </li> |
59 {% endif %} |
59 {% endif %} |
60 </ul> |
60 </ul> |