diff --git a/ietf/secr/templates/sreq/edit.html b/ietf/secr/templates/sreq/edit.html index f1b97e834..733226a40 100755 --- a/ietf/secr/templates/sreq/edit.html +++ b/ietf/secr/templates/sreq/edit.html @@ -6,6 +6,10 @@ {{ form.media }} + {% endblock %} {% block breadcrumbs %}{{ block.super }} diff --git a/ietf/secr/templates/sreq/new.html b/ietf/secr/templates/sreq/new.html index fcf9b4607..4acc97f44 100755 --- a/ietf/secr/templates/sreq/new.html +++ b/ietf/secr/templates/sreq/new.html @@ -7,6 +7,10 @@ {{ form.media }} + {% endblock %} {% block breadcrumbs %}{{ block.super }} diff --git a/ietf/static/ietf/js/meeting/session_details_form.js b/ietf/static/ietf/js/meeting/session_details_form.js index 139310e4d..38c794605 100644 --- a/ietf/static/ietf/js/meeting/session_details_form.js +++ b/ietf/static/ietf/js/meeting/session_details_form.js @@ -79,7 +79,7 @@ const name_elts = [ document.getElementById(id_prefix + 'name'), document.getElementById(id_prefix + 'short'), - ]; + ].filter(Boolean); // removes null entries const type_elt = document.getElementById(id_prefix + 'type'); const type_options = type_elt.getElementsByTagName('option'); const allowed_types = (type_elt.dataset.allowedOptions) ? diff --git a/ietf/templates/meeting/session_details_form.html b/ietf/templates/meeting/session_details_form.html index daafdac93..3fe88307b 100644 --- a/ietf/templates/meeting/session_details_form.html +++ b/ietf/templates/meeting/session_details_form.html @@ -2,15 +2,20 @@
{{ form.name.label_tag }} | {{ form.name }}{{ form.purpose.errors }} |
---|---|
{{ form.purpose.label_tag }} |
- {{ form.purpose }} {{ form.type }}
+ {{ form.purpose }} {{ form.type }}
{{ form.purpose.errors }}{{ form.type.errors }}
|