diff --git a/src/client/components/shared/ConnectionForm/ConnectionForm.tsx b/src/client/components/shared/ConnectionForm/ConnectionForm.tsx index 139626b..573f1b8 100644 --- a/src/client/components/shared/ConnectionForm/ConnectionForm.tsx +++ b/src/client/components/shared/ConnectionForm/ConnectionForm.tsx @@ -17,36 +17,23 @@ export const ConnectionForm = ({

{formHeading}

-
+
+ {({ input, meta }) => (
- {/* */} -
- - - +
+
@@ -54,87 +41,48 @@ export const ConnectionForm = ({ {...input} type="text" placeholder="hostname" - className="ml-2 bg-transparent py-2 px-2 block w-full rounded-md sm:text-sm sm:leading-5 focus:outline-none focus:shadow-outline-blue focus:border-blue-300" + className="ml-2 bg-transparent py-2 px-2 border-r border-gray-300 w-full h-10 sm:text-sm sm:leading-5 focus:outline-none focus:shadow-outline-blue focus:border-blue-300" /> + + {/* port */} + + {meta.error && meta.touched && ( - - {meta.error} - + {meta.error} )}
)}
- -
-

- - - - - - - -

-
- - {({ input, meta }) => ( -
- - {meta.error && meta.touched && ( - - {meta.error} - - )} -
- )} -
-
-

+ + +

+
-

-
-
- -
-
-

- - - - -

-
-
-

- - - - -

-
+ + +
+ + + +