Skip to content

Commit 84f30b6

Browse files
committed
Added approval field. See ietf-tools#353
- Legacy-Id: 2430
1 parent a64e448 commit 84f30b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/liaisons/forms.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def set_organization_field(self):
190190
class OutgoingLiaisonForm(LiaisonForm):
191191

192192
to_poc = forms.CharField(label="POC", required=True)
193+
approval = forms.BooleanField(label="Obtained prior approval", required=False)
193194
other_organization = forms.CharField(label="Other SDO", required=True)
194195

195196
def get_to_entity(self):
@@ -202,6 +203,7 @@ def get_to_entity(self):
202203
def set_from_field(self):
203204
self.fields['from_field'].choices = self.hm.get_entities_for_person(self.person)
204205
self.fields['from_field'].widget.submitter = unicode(self.person)
206+
self.fieldsets[0] = ('From', ('from_field', 'replyto', 'approval'))
205207

206208
def set_organization_field(self):
207209
self.fields['organization'].choices = self.hm.get_all_outgoing_entities()

0 commit comments

Comments
 (0)