Change free email warning position

[MAILPOET-1941]
This commit is contained in:
Rostislav Wolny
2019-04-09 16:04:16 +02:00
committed by M. Shull
parent 6d11f3ed03
commit d788b6596f

View File

@@ -24,7 +24,7 @@ class DefaultSender extends React.Component {
render() { render() {
return ( return (
<React.Fragment> <>
<p> <p>
<label htmlFor="settings[from_name]">{MailPoet.I18n.t('from')}</label> <label htmlFor="settings[from_name]">{MailPoet.I18n.t('from')}</label>
<input <input
@@ -46,6 +46,13 @@ class DefaultSender extends React.Component {
placeholder="from@mydomain.com" placeholder="from@mydomain.com"
/> />
</p> </p>
<div className="regular-text">
<SenderEmailAddressWarning
emailAddress={this.state.senderAddress}
mssActive={this.props.mssActive}
pluginInstalledAt={this.props.pluginInstalledAt}
/>
</div>
<p> <p>
<label htmlFor="settings[reply_name]">{MailPoet.I18n.t('replyTo')}</label> <label htmlFor="settings[reply_name]">{MailPoet.I18n.t('replyTo')}</label>
<input <input
@@ -65,14 +72,7 @@ class DefaultSender extends React.Component {
placeholder="reply_to@mydomain.com" placeholder="reply_to@mydomain.com"
/> />
</p> </p>
<div className="regular-text"> </>
<SenderEmailAddressWarning
emailAddress={this.state.senderAddress}
mssActive={this.props.mssActive}
pluginInstalledAt={this.props.pluginInstalledAt}
/>
</div>
</React.Fragment>
); );
} }
} }