From 6f94b406cd538beaf9f40be17028383d171df012 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz <henrik@levkowetz.com> Date: Mon, 11 Nov 2019 15:21:54 +0000 Subject: [PATCH] Fixed a wrong link to field help for liaison forms. - Legacy-Id: 16987 --- ietf/liaisons/urls.py | 4 ++-- ietf/templates/liaisons/edit.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ietf/liaisons/urls.py b/ietf/liaisons/urls.py index b0a5ddacd..a4afbfef5 100644 --- a/ietf/liaisons/urls.py +++ b/ietf/liaisons/urls.py @@ -1,4 +1,4 @@ -# Copyright The IETF Trust 2007, All Rights Reserved +# Copyright The IETF Trust 2007-2019, All Rights Reserved from django.views.generic import RedirectView, TemplateView @@ -7,7 +7,7 @@ from ietf.utils.urls import url urlpatterns = [ url(r'^help/$', TemplateView.as_view(template_name='liaisons/help.html')), - url(r'^help/fields/$', TemplateView.as_view(template_name='liaisons/field_help.html')), + url(r'^help/fields/$', TemplateView.as_view(template_name='liaisons/field_help.html'), name='liaison-help-fields'), url(r'^help/from_ietf/$', TemplateView.as_view(template_name='liaisons/guide_from_ietf.html')), url(r'^help/to_ietf/$', TemplateView.as_view(template_name='liaisons/guide_to_ietf.html')), url(r'^managers/$', RedirectView.as_view(url='https://www.ietf.org/liaison/managers.html', permanent=True)), diff --git a/ietf/templates/liaisons/edit.html b/ietf/templates/liaisons/edit.html index 5a0f1b618..beec43670 100644 --- a/ietf/templates/liaisons/edit.html +++ b/ietf/templates/liaisons/edit.html @@ -38,7 +38,7 @@ {% if not liaison %} <p class="help-block">If you wish to submit your liaison statement by e-mail, then please send it to <a href="mailto:statements@ietf.org">statements@ietf.org</a></p> - <p class="help-block">Fields marked with <label class="required"></label> are required. For detailed descriptions of the fields see the <a href="{% url 'django.views.generic.base.TemplateView' %}">field help</a>.</p> + <p class="help-block">Fields marked with <label class="required"></label> are required. For detailed descriptions of the fields see the <a href="{% url 'liaison-help-fields'%}">field help</a>.</p> {% endif %} <form role="form" class="liaisons-form form-horizontal show-required" method="post" enctype="multipart/form-data" data-edit-form="{{ form.edit }}" data-ajax-info-url="{% url "ietf.liaisons.views.ajax_get_liaison_info" %}">{% csrf_token %}