Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
217d344f
Commit
217d344f
authored
7 years ago
by
Andres Galante
Committed by
XhmikosR
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Remove uncessary `col-form-label` from form row docs (#24335)
parent
80c909c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/4.0/components/forms.md
+7
-7
docs/4.0/components/forms.md
with
7 additions
and
7 deletions
+7
-7
docs/4.0/components/forms.md
+
7
-
7
View file @
217d344f
...
...
@@ -314,36 +314,36 @@ More complex layouts can also be created with the grid system.
<form>
<div
class=
"form-row"
>
<div
class=
"form-group col-md-6"
>
<label
for=
"inputEmail4"
class=
"col-form-label"
>
Email
</label>
<label
for=
"inputEmail4"
>
Email
</label>
<input
type=
"email"
class=
"form-control"
id=
"inputEmail4"
placeholder=
"Email"
>
</div>
<div
class=
"form-group col-md-6"
>
<label
for=
"inputPassword4"
class=
"col-form-label"
>
Password
</label>
<label
for=
"inputPassword4"
>
Password
</label>
<input
type=
"password"
class=
"form-control"
id=
"inputPassword4"
placeholder=
"Password"
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputAddress"
class=
"col-form-label"
>
Address
</label>
<label
for=
"inputAddress"
>
Address
</label>
<input
type=
"text"
class=
"form-control"
id=
"inputAddress"
placeholder=
"1234 Main St"
>
</div>
<div
class=
"form-group"
>
<label
for=
"inputAddress2"
class=
"col-form-label"
>
Address 2
</label>
<label
for=
"inputAddress2"
>
Address 2
</label>
<input
type=
"text"
class=
"form-control"
id=
"inputAddress2"
placeholder=
"Apartment, studio, or floor"
>
</div>
<div
class=
"form-row"
>
<div
class=
"form-group col-md-6"
>
<label
for=
"inputCity"
class=
"col-form-label"
>
City
</label>
<label
for=
"inputCity"
>
City
</label>
<input
type=
"text"
class=
"form-control"
id=
"inputCity"
>
</div>
<div
class=
"form-group col-md-4"
>
<label
for=
"inputState"
class=
"col-form-label"
>
State
</label>
<label
for=
"inputState"
>
State
</label>
<select
id=
"inputState"
class=
"form-control"
>
<option
selected
>
Choose...
</option>
<option>
...
</option>
</select>
</div>
<div
class=
"form-group col-md-2"
>
<label
for=
"inputZip"
class=
"col-form-label"
>
Zip
</label>
<label
for=
"inputZip"
>
Zip
</label>
<input
type=
"text"
class=
"form-control"
id=
"inputZip"
>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment