{% extends "_base.html" %}

{% block page_title %}- Unauthorized{% endblock %}

{% block content %}
<div class="jumbotron">
  <div class="text-center">
    <h1>401</h1>
    <p>You are not authorized to view this page. Please <a href="{{ url_for('main.login')}}">log in</a>.</p>
  </div>
</div>
{% endblock %}

{% extends "_base.html" %}

{% block page_title %}- Unauthorized{% endblock %}

{% block content %}
<div class="jumbotron">
  <div class="text-center">
    <h1>401</h1>
    <p>You are not authorized to view this page. Please <a href="{{ url_for('user.login')}}">log in</a>.</p>
  </div>
</div>
{% endblock %}

Fix url_for for login page
Fix url_for for login page
