Move Send Invitation Email field directly below User Email in both forms
This commit is contained in:
parent
55829c2254
commit
a7c947f9dd
@ -202,6 +202,13 @@ export const CreateUserButton: React.FC<CreateuserProps> = ({
|
||||
<Form.Item label="User Email" name="user_email">
|
||||
<TextInput placeholder="" />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label="Send invitation email"
|
||||
name="send_invite_email"
|
||||
valuePropName="checked"
|
||||
>
|
||||
<Checkbox />
|
||||
</Form.Item>
|
||||
<Form.Item label="User Role" name="user_role">
|
||||
<Select2>
|
||||
{possibleUIRoles &&
|
||||
@ -225,14 +232,6 @@ export const CreateUserButton: React.FC<CreateuserProps> = ({
|
||||
<Input.TextArea rows={4} placeholder="Enter metadata as JSON" />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
label="Send invitation email"
|
||||
name="send_invite_email"
|
||||
valuePropName="checked"
|
||||
>
|
||||
<Checkbox />
|
||||
</Form.Item>
|
||||
|
||||
<div style={{ textAlign: "right", marginTop: "10px" }}>
|
||||
<Button htmlType="submit">Create User</Button>
|
||||
</div>
|
||||
@ -284,6 +283,13 @@ export const CreateUserButton: React.FC<CreateuserProps> = ({
|
||||
<Form.Item label="User Email" name="user_email">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label="Send invitation email"
|
||||
name="send_invite_email"
|
||||
valuePropName="checked"
|
||||
>
|
||||
<Checkbox />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={
|
||||
<span>
|
||||
@ -370,14 +376,6 @@ export const CreateUserButton: React.FC<CreateuserProps> = ({
|
||||
</AccordionBody>
|
||||
</Accordion>
|
||||
|
||||
<Form.Item
|
||||
label="Send invitation email"
|
||||
name="send_invite_email"
|
||||
valuePropName="checked"
|
||||
>
|
||||
<Checkbox />
|
||||
</Form.Item>
|
||||
|
||||
<div style={{ textAlign: "right", marginTop: "10px" }}>
|
||||
<Button type="primary" icon={<UserAddOutlined />} htmlType="submit">
|
||||
Invite User
|
||||
|
||||
Loading…
Reference in New Issue
Block a user