Skip to content

Commit 6f94b40

Browse files
committed
Fixed a wrong link to field help for liaison forms.
- Legacy-Id: 16987
1 parent 20eb9d8 commit 6f94b40

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/liaisons/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright The IETF Trust 2007, All Rights Reserved
1+
# Copyright The IETF Trust 2007-2019, All Rights Reserved
22

33
from django.views.generic import RedirectView, TemplateView
44

@@ -7,7 +7,7 @@
77

88
urlpatterns = [
99
url(r'^help/$', TemplateView.as_view(template_name='liaisons/help.html')),
10-
url(r'^help/fields/$', TemplateView.as_view(template_name='liaisons/field_help.html')),
10+
url(r'^help/fields/$', TemplateView.as_view(template_name='liaisons/field_help.html'), name='liaison-help-fields'),
1111
url(r'^help/from_ietf/$', TemplateView.as_view(template_name='liaisons/guide_from_ietf.html')),
1212
url(r'^help/to_ietf/$', TemplateView.as_view(template_name='liaisons/guide_to_ietf.html')),
1313
url(r'^managers/$', RedirectView.as_view(url='https://www.ietf.org/liaison/managers.html', permanent=True)),

ietf/templates/liaisons/edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h1>{% if liaison %}Edit liaison: {{ liaison }}{% else %}Send Liaison Statement{
3838
{% if not liaison %}
3939
<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>
4040

41-
<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>
41+
<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>
4242
{% endif %}
4343

4444
<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 %}

0 commit comments

Comments
 (0)