Skip to content

Fix address form layout #1294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/opencast-admin-interface-demo.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 44 additions & 44 deletions src/components/shared/RegistrationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,50 @@ const RegistrationModalContent = () => {
</div>
</div>
</div>
<div className="row">
<div className="col">
<div className="form-group">
<Field
type="text"
name="street"
id="adopter_street"
className="form-control"
/>
<label
className="form-control-placeholder"
htmlFor="adopter_street"
style={
formik.values.street ? styleWithContent : {}
}
>
{t(
"ADOPTER_REGISTRATION.MODAL.FORM_STATE.STREET"
)}
</label>
</div>
</div>
<div className="col">
<div className="form-group">
<Field
type="text"
name="streetNo"
id="adopter_streetnumber"
className="form-control"
/>
<label
className="form-control-placeholder"
htmlFor="adopter_streetnumber"
style={
formik.values.streetNo ? styleWithContent : {}
}
>
{t(
"ADOPTER_REGISTRATION.MODAL.FORM_STATE.NUMBER"
)}
</label>
</div>
</div>
</div>
<div className="row">
<div className="col">
<div className="form-group">
Expand Down Expand Up @@ -461,50 +505,6 @@ const RegistrationModalContent = () => {
</div>
</div>
</div>
<div className="row">
<div className="col">
<div className="form-group">
<Field
type="text"
name="street"
id="adopter_street"
className="form-control"
/>
<label
className="form-control-placeholder"
htmlFor="adopter_street"
style={
formik.values.street ? styleWithContent : {}
}
>
{t(
"ADOPTER_REGISTRATION.MODAL.FORM_STATE.STREET"
)}
</label>
</div>
</div>
<div className="col">
<div className="form-group">
<Field
type="text"
name="streetNo"
id="adopter_streetnumber"
className="form-control"
/>
<label
className="form-control-placeholder"
htmlFor="adopter_streetnumber"
style={
formik.values.streetNo ? styleWithContent : {}
}
>
{t(
"ADOPTER_REGISTRATION.MODAL.FORM_STATE.NUMBER"
)}
</label>
</div>
</div>
</div>
<div className="row">
<div className="col">
<div className="form-group">
Expand Down
Loading