Skip to content

Commit 42292a3

Browse files
author
Lynn Dai
committed
adding an * by required fields in forms
1 parent 225a065 commit 42292a3

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/less/theme/page-api-keys.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@
5353
height: 282px;
5454
}
5555
}
56+
57+
.required:after {
58+
color: red;
59+
content: " *";
60+
}
5661
}
5762

5863
.add-api-key {

src/NuGetGallery/Views/Users/ApiKeys.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
<!-- ko ifnot: Key -->
275275
<div class="row">
276276
<div class="col-sm-7 form-group">
277-
<label data-bind="attr: { for: DescriptionId,
277+
<label class="control-label required" data-bind="attr: { for: DescriptionId,
278278
id: DescriptionId() + '-label' }">Key Name</label>
279279
<input type="text" class="form-control"
280280
data-bind="attr: { id: DescriptionId,

0 commit comments

Comments
 (0)