Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
32215632
Commit
32215632
authored
Sep 01, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17359 from caleb/patch-1
Update static form control example
parents
75029530
ec83b06d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docs/components/forms.md
docs/components/forms.md
+4
-4
No files found.
docs/components/forms.md
View file @
32215632
...
@@ -397,14 +397,14 @@ When you need to place plain text next to a form label within a form, use the `.
...
@@ -397,14 +397,14 @@ When you need to place plain text next to a form label within a form, use the `.
{% example html %}
{% example html %}
<form
class=
"form-horizontal"
>
<form
class=
"form-horizontal"
>
<div
class=
"form-group"
>
<div
class=
"form-group
row
"
>
<label
class=
"col-sm-2 control-label"
>
Email
</label>
<label
class=
"col-sm-2
form-
control-label"
>
Email
</label>
<div
class=
"col-sm-10"
>
<div
class=
"col-sm-10"
>
<p class="form-control-static">email@example.com</p>
<p class="form-control-static">email@example.com</p>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group
row
"
>
<label
for=
"inputPassword"
class=
"col-sm-2 control-label"
>
Password
</label>
<label
for=
"inputPassword"
class=
"col-sm-2
form-
control-label"
>
Password
</label>
<div
class=
"col-sm-10"
>
<div
class=
"col-sm-10"
>
<input
type=
"password"
class=
"form-control"
id=
"inputPassword"
placeholder=
"Password"
>
<input
type=
"password"
class=
"form-control"
id=
"inputPassword"
placeholder=
"Password"
>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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