mirror of https://github.com/vector-im/riot-web
Correct order of buttons in CreateGroupDialog
We can't use DialogButtons because the primary button is an <input> element.pull/21833/head
parent
c863dbfc76
commit
aecb4650bc
|
@ -159,10 +159,10 @@ export default React.createClass({
|
||||||
{ createErrorNode }
|
{ createErrorNode }
|
||||||
</div>
|
</div>
|
||||||
<div className="mx_Dialog_buttons">
|
<div className="mx_Dialog_buttons">
|
||||||
|
<input type="submit" value={_t('Create')} className="mx_Dialog_primary" />
|
||||||
<button onClick={this._onCancel}>
|
<button onClick={this._onCancel}>
|
||||||
{ _t("Cancel") }
|
{ _t("Cancel") }
|
||||||
</button>
|
</button>
|
||||||
<input type="submit" value={_t('Create')} className="mx_Dialog_primary" />
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
Loading…
Reference in New Issue