Мелкие исправления

This commit is contained in:
SleepWalker 2016-01-21 08:29:11 +02:00
parent 83cad66bea
commit 67b6474c82
4 changed files with 8 additions and 8 deletions

View File

@ -19,11 +19,11 @@ class Login extends Component {
render() {
return (
<div>
<Message {...messages.signInTitle}>
<Message {...messages.loginTitle}>
{(msg) => <Helmet title={msg} />}
</Message>
<Panel title={<Message {...messages.signInTitle} />}>
<Panel title={<Message {...messages.loginTitle} />}>
<PanelBody>
<Input icon="envelope" type="email" placeholder={messages.emailOrUsername} />
</PanelBody>

View File

@ -1,8 +1,8 @@
import { defineMessages } from 'react-intl';
export default defineMessages({
signInTitle: {
id: 'signInTitle',
loginTitle: {
id: 'loginTitle',
defaultMessage: 'Sign in'
},

View File

@ -17,11 +17,11 @@ export default class Register extends Component {
render() {
return (
<div>
<Message {...messages.signUpTitle}>
<Message {...messages.registerTitle}>
{(msg) => <Helmet title={msg} />}
</Message>
<Panel title={<Message {...messages.signUpTitle} />}>
<Panel title={<Message {...messages.registerTitle} />}>
<PanelBody>
<Input icon="user" color="blue" type="text" placeholder={messages.yourNickname} />
<Input icon="envelope" color="blue" type="email" placeholder={messages.yourEmail} />

View File

@ -1,8 +1,8 @@
import { defineMessages } from 'react-intl';
export default defineMessages({
signUpTitle: {
id: 'signUpTitle',
registerTitle: {
id: 'registerTitle',
defaultMessage: 'Sign Up'
},