Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Project Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PCP-On-Web
Project Website
Commits
b35867f2
Commit
b35867f2
authored
8 years ago
by
Sylvia Pellicore
Browse files
Options
Downloads
Patches
Plain Diff
Linked labels to fields
The for attribute programmatically links the labels to their matching form fields.
parent
f047ec0e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.html
+4
-4
4 additions, 4 deletions
index.html
with
4 additions
and
4 deletions
index.html
+
4
−
4
View file @
b35867f2
...
...
@@ -198,28 +198,28 @@
<form
name=
"sentMessage"
id=
"contactForm"
novalidate
>
<div
class=
"row control-group"
>
<div
class=
"form-group col-xs-12 floating-label-form-group controls"
>
<label>
Name
</label>
<label
for=
"name"
>
Name
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"Name"
id=
"name"
required
data-validation-required-message=
"Please enter your name."
>
<p
class=
"help-block text-danger"
></p>
</div>
</div>
<div
class=
"row control-group"
>
<div
class=
"form-group col-xs-12 floating-label-form-group controls"
>
<label>
Email Address
</label>
<label
for=
"email"
>
Email Address
</label>
<input
type=
"email"
class=
"form-control"
placeholder=
"Email Address"
id=
"email"
required
data-validation-required-message=
"Please enter your email address."
>
<p
class=
"help-block text-danger"
></p>
</div>
</div>
<div
class=
"row control-group"
>
<div
class=
"form-group col-xs-12 floating-label-form-group controls"
>
<label>
Phone Number
</label>
<label
for=
"phone"
>
Phone Number
</label>
<input
type=
"tel"
class=
"form-control"
placeholder=
"Phone Number"
id=
"phone"
required
data-validation-required-message=
"Please enter your phone number."
>
<p
class=
"help-block text-danger"
></p>
</div>
</div>
<div
class=
"row control-group"
>
<div
class=
"form-group col-xs-12 floating-label-form-group controls"
>
<label>
Message
</label>
<label
for=
"message"
>
Message
</label>
<textarea
rows=
"5"
class=
"form-control"
placeholder=
"Message"
id=
"message"
required
data-validation-required-message=
"Please enter a message."
></textarea>
<p
class=
"help-block text-danger"
></p>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment