|
|
@ -142,9 +142,7 @@ class PollForm extends ImmutablePureComponent {
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<div className='poll__footer'>
|
|
|
|
<div className='poll__footer'>
|
|
|
|
{options.size < 4 && (
|
|
|
|
<button disabled={options.size >= 4} className='button button-secondary' onClick={this.handleAddOption}><Icon id='plus' /> <FormattedMessage {...messages.add_option} /></button>
|
|
|
|
<button className='button button-secondary' onClick={this.handleAddOption}><Icon id='plus' /> <FormattedMessage {...messages.add_option} /></button>
|
|
|
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select value={expiresIn} onChange={this.handleSelectDuration}>
|
|
|
|
<select value={expiresIn} onChange={this.handleSelectDuration}>
|
|
|
|
<option value={300}>{intl.formatMessage(messages.minutes, { number: 5 })}</option>
|
|
|
|
<option value={300}>{intl.formatMessage(messages.minutes, { number: 5 })}</option>
|
|
|
|