Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
e3d3d97c
Commit
e3d3d97c
authored
Nov 01, 2019
by
Ben Wheeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change p tags to divs; set isRequired on canTryAgain
parent
510906e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
src/components/join-flow/registration-error-step.jsx
src/components/join-flow/registration-error-step.jsx
+12
-8
No files found.
src/components/join-flow/registration-error-step.jsx
View file @
e3d3d97c
...
@@ -34,22 +34,22 @@ class RegistrationErrorStep extends React.Component {
...
@@ -34,22 +34,22 @@ class RegistrationErrorStep extends React.Component {
titleClassName=
"join-flow-error-title"
titleClassName=
"join-flow-error-title"
onSubmit=
{
this
.
handleSubmit
}
onSubmit=
{
this
.
handleSubmit
}
>
>
<
p
className=
"join-flow-instructions"
>
<
div
className=
"join-flow-instructions"
>
<
FormattedMessage
id=
"registration.cantCreateAccount"
/>
<
FormattedMessage
id=
"registration.cantCreateAccount"
/>
</
p
>
</
div
>
{
this
.
props
.
errorMsg
&&
(
{
this
.
props
.
errorMsg
&&
(
<
p
className=
"join-flow-instructions registration-error-msg"
>
<
div
className=
"join-flow-instructions registration-error-msg"
>
{
this
.
props
.
errorMsg
}
{
this
.
props
.
errorMsg
}
</
p
>
</
div
>
)
}
)
}
{
this
.
props
.
canTryAgain
?
(
{
this
.
props
.
canTryAgain
?
(
<
p
className=
"join-flow-instructions"
>
<
div
className=
"join-flow-instructions"
>
<
FormattedMessage
id=
"registration.tryAgainInstruction"
/>
<
FormattedMessage
id=
"registration.tryAgainInstruction"
/>
</
p
>
</
div
>
)
:
(
)
:
(
<
p
className=
"join-flow-instructions"
>
<
div
className=
"join-flow-instructions"
>
<
FormattedMessage
id=
"registration.startOverInstruction"
/>
<
FormattedMessage
id=
"registration.startOverInstruction"
/>
</
p
>
</
div
>
)
}
)
}
</
JoinFlowStep
>
</
JoinFlowStep
>
);
);
...
@@ -63,6 +63,10 @@ RegistrationErrorStep.propTypes = {
...
@@ -63,6 +63,10 @@ RegistrationErrorStep.propTypes = {
onSubmit
:
PropTypes
.
func
.
isRequired
onSubmit
:
PropTypes
.
func
.
isRequired
};
};
RegistrationErrorStep
.
defaultProps
=
{
canTryAgain
:
false
};
const
IntlRegistrationErrorStep
=
injectIntl
(
RegistrationErrorStep
);
const
IntlRegistrationErrorStep
=
injectIntl
(
RegistrationErrorStep
);
module
.
exports
=
IntlRegistrationErrorStep
;
module
.
exports
=
IntlRegistrationErrorStep
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment