pattern_link.html 158 Bytes
<a href="{% if edit %}{% url 'pattern_view' %}{% else %}{% url 'pattern_reader_view' %}{% endif %}#{{ pattern.id }}/{{ pattern.name }}">{{ pattern.name }}</a>