2024-12-31 10:30:14 +05:30
|
|
|
import Code from '~/components/Code';
|
|
|
|
|
import Dialog from '~/components/Dialog';
|
2025-01-26 15:04:13 -05:00
|
|
|
import Input from '~/components/Input';
|
2024-05-15 21:52:19 -04:00
|
|
|
|
2025-01-26 15:04:13 -05:00
|
|
|
export default function Add() {
|
2024-05-15 21:52:19 -04:00
|
|
|
return (
|
|
|
|
|
<Dialog>
|
2024-12-31 10:30:14 +05:30
|
|
|
<Dialog.Button>Add a new user</Dialog.Button>
|
2024-05-15 21:52:19 -04:00
|
|
|
<Dialog.Panel>
|
2025-01-26 15:04:13 -05:00
|
|
|
<Dialog.Title>Add a new user</Dialog.Title>
|
|
|
|
|
<Dialog.Text className="mb-8">
|
|
|
|
|
Enter a username to create a new user. Usernames can be addressed when
|
|
|
|
|
managing ACL policies.
|
|
|
|
|
</Dialog.Text>
|
|
|
|
|
<input type="hidden" name="_method" value="create" />
|
|
|
|
|
<Input
|
|
|
|
|
isRequired
|
|
|
|
|
name="username"
|
|
|
|
|
label="Username"
|
|
|
|
|
placeholder="my-new-user"
|
|
|
|
|
/>
|
2024-05-15 21:52:19 -04:00
|
|
|
</Dialog.Panel>
|
|
|
|
|
</Dialog>
|
2024-12-31 10:30:14 +05:30
|
|
|
);
|
2024-05-15 21:52:19 -04:00
|
|
|
}
|