Add day/evening attendance option

This commit is contained in:
2017-02-16 20:43:42 +00:00
parent c939c09991
commit e69d04f199
9 changed files with 46 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ class AdminPerson extends React.Component {
email: PropTypes.string,
password: PropTypes.string,
attending: PropTypes.boolean,
ceremony: PropTypes.boolean,
}).isRequired,
};
@@ -74,6 +75,20 @@ class AdminPerson extends React.Component {
defaultValue={this.props.person.email}
/>
</div>
<div className={s.formGroup}>
<label className={s.label} htmlFor="ceremony">
Invite type:
</label>
<select
className={s.input}
id="cermony"
name="ceremony"
defaultValue={this.props.person.ceremony ? 'true' : 'false'}
>
<option value="true">Full day</option>
<option value="false">Evening only</option>
</select>
</div>
<div className={s.formGroup}>
<label className={s.label} htmlFor="password">
Password: