Skip to content

Commit 77ca4e7

Browse files
add events form
1 parent e7908ca commit 77ca4e7

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

frontend/src/pages/Events.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default class Events extends Component {
1515
modalConfirmHandler = () => {
1616
this.setState({ creating: false });
1717
};
18+
1819
modalCancelHandler = () => {
1920
this.setState({ creating: false });
2021
};
@@ -31,7 +32,24 @@ export default class Events extends Component {
3132
onCancel={this.modalCancelHandler}
3233
onConfirm={this.modalConfirmHandler}
3334
>
34-
<p>Modal Content</p>
35+
<form>
36+
<div>
37+
<label htmlFor='title'>Title</label>
38+
<input type='text' id='title' />
39+
</div>
40+
<div>
41+
<label htmlFor='price'>Price</label>
42+
<input type='number' id='price' />
43+
</div>
44+
<div>
45+
<label htmlFor='date'>Date</label>
46+
<input type='date' id='date' />
47+
</div>
48+
<div>
49+
<label htmlFor='description'>Description</label>
50+
<textarea id='description' rows='4' />
51+
</div>
52+
</form>
3553
</Modal>
3654
)}
3755
<div>

0 commit comments

Comments
 (0)