explicitly label email & phone add sections; fixes https://github.com/vector-im/riot-web/issues/3531

This commit is contained in:
Matthew Hodgson 2017-05-15 03:03:17 +01:00
parent 486301cffb
commit 317e24852d
2 changed files with 2 additions and 0 deletions

View file

@ -855,6 +855,7 @@ module.exports = React.createClass({
addEmailSection = ( addEmailSection = (
<div className="mx_UserSettings_profileTableRow" key="_newEmail"> <div className="mx_UserSettings_profileTableRow" key="_newEmail">
<div className="mx_UserSettings_profileLabelCell"> <div className="mx_UserSettings_profileLabelCell">
<label>Email</label>
</div> </div>
<div className="mx_UserSettings_profileInputCell"> <div className="mx_UserSettings_profileInputCell">
<EditableText <EditableText

View file

@ -147,6 +147,7 @@ export default WithMatrixClient(React.createClass({
return ( return (
<form className="mx_UserSettings_profileTableRow" onSubmit={this._onAddMsisdnSubmit}> <form className="mx_UserSettings_profileTableRow" onSubmit={this._onAddMsisdnSubmit}>
<div className="mx_UserSettings_profileLabelCell"> <div className="mx_UserSettings_profileLabelCell">
<label>Phone</label>
</div> </div>
<div className="mx_UserSettings_profileInputCell"> <div className="mx_UserSettings_profileInputCell">
<div className="mx_UserSettings_phoneSection"> <div className="mx_UserSettings_phoneSection">