Add CSS classes to group ID input in CreateGroupDialog
This commit is contained in:
parent
d0b3368445
commit
e84e4ed5f5
1 changed files with 6 additions and 4 deletions
|
@ -137,16 +137,18 @@ export default React.createClass({
|
|||
<div className="mx_CreateGroupDialog_label">
|
||||
<label htmlFor="groupid">{ _t('Community ID') }</label>
|
||||
</div>
|
||||
<div>
|
||||
<span>+</span>
|
||||
<input id="groupid" className="mx_CreateGroupDialog_input"
|
||||
<div className="mx_CreateGroupDialog_input_group">
|
||||
<span className="mx_CreateGroupDialog_input_prefix">+</span>
|
||||
<input id="groupid" className="mx_CreateGroupDialog_input has_prefix has_suffix"
|
||||
size="32"
|
||||
placeholder={_t('example')}
|
||||
onChange={this._onGroupIdChange}
|
||||
onBlur={this._onGroupIdBlur}
|
||||
value={this.state.groupId}
|
||||
/>
|
||||
<span>:{ MatrixClientPeg.get().getDomain() }</span>
|
||||
<span className="mx_CreateGroupDialog_input_suffix">
|
||||
:{ MatrixClientPeg.get().getDomain() }
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="error">
|
||||
|
|
Loading…
Reference in a new issue