adding pilots
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import { IPilotFormCertificates } from './IPilotFormCertificates';
|
import { IPilotFormCertificates } from './IPilotFormCertificates';
|
||||||
// import { Button, DatePicker, Input, Select, SelectItem } from '@nextui-org/react';
|
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
DatePicker,
|
DatePicker,
|
||||||
@@ -24,7 +23,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="grid grid-cols-4 gap-4">
|
<>
|
||||||
{fields.map((field, index) => {
|
{fields.map((field, index) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -88,6 +87,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
<div className="col-span-4">
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
append({
|
append({
|
||||||
@@ -100,6 +100,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
|
|||||||
Add
|
Add
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import { IPilotFormEndorsements } from './IPilotFormEndorsements';
|
import { IPilotFormEndorsements } from './IPilotFormEndorsements';
|
||||||
// import { Button, DatePicker, Input, Select, SelectItem } from '@nextui-org/react';
|
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
DatePicker,
|
DatePicker,
|
||||||
@@ -24,7 +23,7 @@ const PilotFormEndorsements: React.FC<IPilotFormEndorsements> = ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="grid grid-cols-4 gap-4">
|
<>
|
||||||
{fields.map((field, index) => {
|
{fields.map((field, index) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -76,6 +75,7 @@ const PilotFormEndorsements: React.FC<IPilotFormEndorsements> = ({
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
<div className="col-span-4">
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
append({
|
append({
|
||||||
@@ -88,6 +88,7 @@ const PilotFormEndorsements: React.FC<IPilotFormEndorsements> = ({
|
|||||||
Add
|
Add
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user