Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
562e6257
Commit
562e6257
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #17451 from vsn4ik/rm_form_horizontal
Remove dropped form-horizontal from forms.md
parents
3df8ded1
88d004f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/components/forms.md
+1
-1
docs/components/forms.md
with
1 addition
and
1 deletion
+1
-1
docs/components/forms.md
+
1
-
1
View file @
562e6257
...
@@ -396,7 +396,7 @@ Should you have no text within the `<label>`, the input is positioned as you'd e
...
@@ -396,7 +396,7 @@ Should you have no text within the `<label>`, the input is positioned as you'd e
When you need to place plain text next to a form label within a form, use the
`.form-control-static`
class on a
`<p>`
.
When you need to place plain text next to a form label within a form, use the
`.form-control-static`
class on a
`<p>`
.
{% example html %}
{% example html %}
<form
class=
"form-horizontal"
>
<form>
<div
class=
"form-group row"
>
<div
class=
"form-group row"
>
<label
class=
"col-sm-2 form-control-label"
>
Email
</label>
<label
class=
"col-sm-2 form-control-label"
>
Email
</label>
<div
class=
"col-sm-10"
>
<div
class=
"col-sm-10"
>
...
...
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
Menu
Explore
Projects
Groups
Snippets