mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 22:47:15 +01:00
47 lines
1.5 KiB
JavaScript
47 lines
1.5 KiB
JavaScript
import { useContext } from 'react'
|
|
import { WizardContext, ACTIONS } from '../context/wizardStore'
|
|
|
|
import Form from 'react-bootstrap/Form'
|
|
import Col from 'react-bootstrap/Col'
|
|
|
|
export default function Contact() {
|
|
const { state, dispatch } = useContext(WizardContext)
|
|
|
|
const { multipleDays, startDate, endDate } = state
|
|
|
|
return (
|
|
<>
|
|
<Form.Group>
|
|
<Form.Label>Name</Form.Label>
|
|
<Form.Control type="text" id="name" placeholder="Name" />
|
|
</Form.Group>
|
|
<Form.Group>
|
|
<Form.Label>Straße</Form.Label>
|
|
<Form.Control type="text" id="street" placeholder="Straße" />
|
|
</Form.Group>
|
|
<Form.Row>
|
|
<Form.Group as={Col} xs={4}>
|
|
<Form.Label>PLZ</Form.Label>
|
|
<Form.Control type="text" id="plz" placeholder="PLZ" />
|
|
</Form.Group>
|
|
<Form.Group as={Col}>
|
|
<Form.Label>Stadt</Form.Label>
|
|
<Form.Control type="text" id="city" placeholder="Stadt" />
|
|
</Form.Group>
|
|
</Form.Row>
|
|
<Form.Group>
|
|
<Form.Label>Verein</Form.Label>
|
|
<Form.Control type="text" id="org" placeholder="Verein" />
|
|
</Form.Group>
|
|
<Form.Group>
|
|
<Form.Label>Zweck der Fahrt</Form.Label>
|
|
<Form.Control type="text" id="purpose" placeholder="Zweck der Fahrt" />
|
|
</Form.Group>
|
|
<Form.Group>
|
|
<Form.Label>Ziel der Fahrt</Form.Label>
|
|
<Form.Control type="text" id="destination" placeholder="Fahrtziel" />
|
|
</Form.Group>
|
|
</>
|
|
)
|
|
}
|