{% extends "base.html" %}
{% load humanize %}
{% load template_extras %}

{% block title %}Prescribing measures{% endblock %}
{% block active_class %}ccg{% endblock %}

{% block content %}

<h1>Prescribing measures</h1>
{% if request.GET.tags %}
<p class="alert alert-info">
  This list is filtered to show only <em>NHS Low Priority</em> measures.  <a href="{% url 'all_measures' %}">Switch back to core measures.</a>
</p>
{% endif %}
</p>

<p>See prescribing by all CCGs for:</p>

<ul>
{% for measure in measures %}
<li>
<a href="/measure/{{ measure.id }}">
{{ measure }}
</a>
</li>
{% endfor %}
</ul>

{% endblock %}

{% extends "base.html" %}
{% load humanize %}
{% load template_extras %}

{% block title %}Prescribing measures{% endblock %}
{% block active_class %}ccg{% endblock %}

{% block content %}

<h1>Prescribing measures</h1>
{% if request.GET.tags %}
<p class="alert alert-info">
  This list is filtered to show only <em>NHS Low Priority</em> measures.  <a href="{% url 'all_measures' %}">Switch back to core measures.</a>
</p>
{% endif %}
</p>

<p>See prescribing by all CCGs for:</p>

<ul>
{% for measure in measures %}
<li>
<a href="{% url 'measure_for_all_ccgs' measure.id %}">
{{ measure }}
</a>
</li>
{% endfor %}
</ul>

{% endblock %}

Fix incorrect measures link URL
Fix incorrect measures link URL

The previous version omitted the trailing slash, which works but causes
a needless redirect. But we should be using the `url` tag anyway, rather
than constructing URLs by hand.
