Skip to content

Commit 002286e

Browse files
committed
fix: updatedusage of <Form.Control> components to match usage in docs
1 parent c9fdff7 commit 002286e

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

src/content/7/en/part7c.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,16 @@ let Login = (props) => {
124124
type="text"
125125
name="username"
126126
/>
127+
</Form.Group>
128+
<Form.Group>
127129
<Form.Label>password:</Form.Label>
128130
<Form.Control
129131
type="password"
130132
/>
131-
<Button variant="primary" type="submit">
132-
login
133-
</Button>
134133
</Form.Group>
134+
<Button variant="primary" type="submit">
135+
login
136+
</Button>
135137
</Form>
136138
</div>
137139
)

src/content/7/es/part7c.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,16 @@ let Login = (props) => {
125125
type="text"
126126
name="username"
127127
/>
128+
</Form.Group>
129+
<Form.Group>
128130
<Form.Label>password:</Form.Label>
129131
<Form.Control
130132
type="password"
131133
/>
132-
<Button variant="primary" type="submit">
133-
login
134-
</Button>
135134
</Form.Group>
135+
<Button variant="primary" type="submit">
136+
login
137+
</Button>
136138
</Form>
137139
</div>
138140
)}

src/content/7/fi/osa7c.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,16 @@ let Login = (props) => {
124124
type="text"
125125
name="username"
126126
/>
127+
</Form.Group>
128+
<Form.Group>
127129
<Form.Label>password:</Form.Label>
128130
<Form.Control
129131
type="password"
130132
/>
131-
<Button variant="primary" type="submit">
132-
login
133-
</Button>
134133
</Form.Group>
134+
<Button variant="primary" type="submit">
135+
login
136+
</Button>
135137
</Form>
136138
</div>
137139
)

src/content/7/zh/part7c.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,16 @@ let Login = (props) => {
138138
type="text"
139139
name="username"
140140
/>
141+
</Form.Group>
142+
<Form.Group>
141143
<Form.Label>password:</Form.Label>
142144
<Form.Control
143145
type="password"
144146
/>
145-
<Button variant="primary" type="submit">
146-
login
147-
</Button>
148147
</Form.Group>
148+
<Button variant="primary" type="submit">
149+
login
150+
</Button>
149151
</Form>
150152
</div>
151153
)}

0 commit comments

Comments
 (0)