Fixed a wrong link to field help for liaison forms.

- Legacy-Id: 16987
This commit is contained in:
Henrik Levkowetz 2019-11-11 15:21:54 +00:00
parent 20eb9d8ac1
commit 6f94b406cd
2 changed files with 3 additions and 3 deletions

View file

@ -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 from django.views.generic import RedirectView, TemplateView
@ -7,7 +7,7 @@ from ietf.utils.urls import url
urlpatterns = [ urlpatterns = [
url(r'^help/$', TemplateView.as_view(template_name='liaisons/help.html')), 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/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'^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)), url(r'^managers/$', RedirectView.as_view(url='https://www.ietf.org/liaison/managers.html', permanent=True)),

View file

@ -38,7 +38,7 @@
{% if not liaison %} {% 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">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 %} {% 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 %} <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 %}