File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,25 +18,6 @@ const ColorPicker = styled.input`
1818const ShapeForm = ( props ) => {
1919 return (
2020 < Form noValidate validated = { props . validated } onSubmit = { props . handleSubmit } id = "createShapeForm" >
21- < Form . Group >
22- < Form . Label > Name</ Form . Label >
23- < Form . Control
24- type = "text"
25- name = "name"
26- value = { props . shapeInformation . name }
27- onChange = { props . handleChange }
28- required
29- />
30- < Form . Control . Feedback type = "invalid" > Name required!</ Form . Control . Feedback >
31- < Form . Check
32- name = "private"
33- label = "Make it Private"
34- id = "private"
35- checked = { props . shapeInformation . private }
36- onChange = { ( e ) => props . handleChange ( e ) }
37- className = "mt-1"
38- />
39- </ Form . Group >
4021 < Form . Group >
4122 < Form . Label > Type</ Form . Label >
4223 < div >
@@ -59,6 +40,26 @@ const ShapeForm = (props) => {
5940 </ div >
6041 </ Form . Group >
6142
43+ < Form . Group >
44+ < Form . Label > Name</ Form . Label >
45+ < Form . Control
46+ type = "text"
47+ name = "name"
48+ value = { props . shapeInformation . name }
49+ onChange = { props . handleChange }
50+ required
51+ />
52+ < Form . Control . Feedback type = "invalid" > Name required!</ Form . Control . Feedback >
53+ < Form . Check
54+ name = "private"
55+ label = "Make it Private"
56+ id = "private"
57+ checked = { props . shapeInformation . private }
58+ onChange = { ( e ) => props . handleChange ( e ) }
59+ className = "mt-1"
60+ />
61+ </ Form . Group >
62+
6263 < Form . Group >
6364 < Form . Label > Color</ Form . Label >
6465 < div >
@@ -71,6 +72,7 @@ const ShapeForm = (props) => {
7172 />
7273 </ div >
7374 </ Form . Group >
75+
7476 < Form . Group >
7577 < Form . Label > What's it about?</ Form . Label >
7678 < Form . Control
You can’t perform that action at this time.
0 commit comments