@@ -10,6 +10,7 @@ import {useAcceptInvitation} from "../../../../mutations/useAcceptInvitation.ts"
1010import { showError , showSuccess } from "../../../../utilites/notifications.tsx" ;
1111import { AcceptInvitationRequest } from "../../../../types.ts" ;
1212import { Card } from "../../../common/Card" ;
13+ import { InputGroup } from "../../../common/InputGroup" ;
1314
1415const AcceptInvitation = ( ) => {
1516 const navigate = useNavigate ( ) ;
@@ -86,29 +87,38 @@ const AcceptInvitation = () => {
8687 </ Alert >
8788 < form onSubmit = { form . onSubmit ( handleSubmit ) } >
8889 < fieldset disabled = { ! isFetched } >
89- < TextInput required { ...form . getInputProps ( 'first_name' ) }
90- label = { t `First Name` } />
91- < TextInput required { ...form . getInputProps ( 'last_name' ) }
92- label = { t `Last Name` } />
93- < TextInput disabled required { ...form . getInputProps ( 'email' ) } label = { t `Email` } />
90+ < InputGroup >
91+ < TextInput required { ...form . getInputProps ( 'first_name' ) }
92+ label = { t `First Name` } />
93+ < TextInput required { ...form . getInputProps ( 'last_name' ) }
94+ label = { t `Last Name` } />
95+ </ InputGroup >
9496
95- < Select
96- required
97- searchable
98- data = { timezones }
99- { ...form . getInputProps ( 'timezone' ) }
100- label = { t `Timezone` }
101- placeholder = { t `UTC` }
102- />
97+ < InputGroup >
98+ < TextInput disabled required { ...form . getInputProps ( 'email' ) } label = { t `Email` } />
10399
104- < PasswordInput { ...form . getInputProps ( 'password' ) } label = { t `New Password` } required />
105- < PasswordInput { ...form . getInputProps ( 'password_confirmation' ) } label = { t `Confirm Password` }
106- required />
100+ < Select
101+ required
102+ searchable
103+ data = { timezones }
104+ { ...form . getInputProps ( 'timezone' ) }
105+ label = { t `Timezone` }
106+ placeholder = { t `UTC` }
107+ />
108+ </ InputGroup >
109+
110+ < InputGroup >
111+ < PasswordInput { ...form . getInputProps ( 'password' ) } label = { t `New Password` } required />
112+ < PasswordInput { ...form . getInputProps ( 'password_confirmation' ) } label = { t `Confirm Password` }
113+ required />
114+ </ InputGroup >
107115
108116 < Switch { ...form . getInputProps ( 'terms' , { type : 'checkbox' } ) }
109117 label = { (
110118 < Trans >
111- I agree to the < Anchor target = { '_blank' } href = { 'https://hi.events/terms-of-service' } > terms and conditions</ Anchor >
119+ I agree to the < Anchor target = { '_blank' }
120+ href = { 'https://hi.events/terms-of-service' } > terms and
121+ conditions</ Anchor >
112122 </ Trans >
113123 ) } />
114124
0 commit comments