Skip to content

Commit ad6830f

Browse files
add bio prop and editor in admin (#382)
1 parent be3a25a commit ad6830f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

elections/code/infrastructure/active_records/Candidate.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class Candidate extends DataObject implements ICandidate
1919
'IsGoldMemberCandidate' => 'Boolean',
2020
// Q and A (Candidate's answer to the application question)
2121
'RelationshipToOpenStack' => 'HTMLText',
22+
'Bio' => 'HTMLText',
2223
'Experience' => 'HTMLText',
2324
'BoardsRole' => 'HTMLText',
2425
'TopPriority' => 'HTMLText',

elections/code/infrastructure/active_records/Election.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ function getCMSFields()
246246
new CheckboxField('HasAcceptedNomination', 'Has Accepted Nomination?'),
247247
new CheckboxField('IsGoldMemberCandidate', 'Is Gold Member Candidate?'),
248248
new HtmlEditorField('RelationshipToOpenStack', 'Relationship To OpenStack'),
249+
new HtmlEditorField('Bio', 'Bio'),
249250
new HtmlEditorField('Experience', 'Experience'),
250251
new HtmlEditorField('BoardsRole', 'Boards Role'),
251252
new HtmlEditorField('TopPriority', 'Top Priority')

0 commit comments

Comments
 (0)