mirror of https://github.com/vector-im/riot-web
Add CSS classes to group ID input in CreateGroupDialog
parent
d0b3368445
commit
e84e4ed5f5
|
@ -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 New Issue