File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ def clean(self):
9191 return self .cleaned_data
9292
9393class DraftForm (forms .ModelForm ):
94- document = SearchableDocAliasField (label = "I-D name/RFC number" , required = False , doc_type = "draft" )
95-
94+ document = SearchableDocAliasField (label = "I-D name/RFC number" , required = True , doc_type = "draft" )
95+
9696 class Meta :
9797 model = IprDocRel
9898 fields = '__all__'
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ <h2>{% cycle section %}. IETF document or other contribution to which this IPR d
138138
139139 < div class ="col-md-6 ">
140140 {{ draft_form.id }}
141- {{ draft_form.document }}
141+ {{ draft_form.document }}{% if draft_form.document.errors %} < div class =" alert alert-danger " > {{ draft_form.document.errors }} </ div > {% endif %}
142142 </ div >
143143
144144 < div class ="col-md-2 ">
You can’t perform that action at this time.
0 commit comments