Skip to content

Commit 883179d

Browse files
committed
editted the pattern to include lowercase characters.
1 parent 1bbf4dd commit 883179d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oshc/main/templates/contest_edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="form-group">
88
<label style="margin-top:70px;" for="name" class="control-label col-xs-2">Name:</label>
99
<div class="col-xs-3">
10-
<input type="text" style="margin-top:70px;" class="form-control" id="name" pattern="([A-Z, ])\w+" name="name" placeholder="Contest Name" required>
10+
<input type="text" style="margin-top:70px;" class="form-control" id="name" pattern="([A-Za-z\s-])\w+" name="name" placeholder="Contest Name" required>
1111
</div>
1212
</div>
1313

0 commit comments

Comments
 (0)