update seafearer registeration

This commit is contained in:
mengstabketemaw
2026-06-18 11:33:45 +03:00
parent 2feaaf1ee4
commit d7ce72176e
2 changed files with 11 additions and 10 deletions

View File

@@ -3,6 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/ema-logo.png" />
<link rel="apple-touch-icon" href="/ema-logo.png" />
<title>EMA Backoffice</title>
</head>
<body>

View File

@@ -381,17 +381,16 @@ export function SeafarerRegistrationPage() {
<SimpleGrid cols={{ base: 1, sm: 2, lg: 3 }} spacing="md">
<TextInput label="Mobile Number" placeholder="+251 9XX XXX XXX" required value={mobile} onChange={(e) => setMobile(e.currentTarget.value)} />
<TextInput label="Email Address" placeholder="email@example.com" type="email" required value={email} onChange={(e) => setEmail(e.currentTarget.value)} />
<Box style={{ gridColumn: '1 / -1' }}>
<Text fz="sm" fw={500} mb={4}>
Location {locationId ? <Text span c="green" size="sm"></Text> : <Text span c="red" size="sm">*</Text>}
</Text>
<LocationPicker
value={locationId ?? undefined}
onChange={setLocationId}
required
/>
</Box>
</SimpleGrid>
<SectionHead title="Location" />
<LocationPicker
value={locationId ?? undefined}
onChange={setLocationId}
required
/>
<SectionHead title="Address" />
<Textarea label="Permanent Address" placeholder="Full permanent address" autosize minRows={2} value={permanentAddress} onChange={(e) => setPermanentAddress(e.currentTarget.value)} />
<Textarea
label={<><Text span fz="sm" fw={500}>Current Address</Text><Text span fz="xs" c="dimmed" ml={6}>(If different from permanent)</Text></>}