Skip to content

Commit

Permalink
fix syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Aug 7, 2024
1 parent f11c6d6 commit a9f54d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions group_manager/templates/group_manager/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h1 id="group-manager-text">Group manager</h1>
{% endif %}
</ul>
</div>
<input name="group_name" id="f-group-create-name" class="form-control" type="text" pattern="^([a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9])$" required oninvalid="setCustomValidity('Please enter only lowercase letters, numbers, and hyphens (-). The group name may not start or end with a hyphen.')" onchange="setCustomValidity('')" />
<input name="group_name" id="f-group-create-name" class="form-control" type="text" pattern="^([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$" required oninvalid="setCustomValidity('Please enter only lowercase letters, numbers, and hyphens (-). The group name may not start or end with a hyphen.')" onchange="setCustomValidity('')" />
</div>
</div>
</div>
Expand Down Expand Up @@ -184,7 +184,7 @@ <h1 id="group-manager-text">Group manager</h1>
<i class="fa-solid fa-question-circle" aria-hidden="true" title="Description for this group (may only contain letters a-z, numbers, spaces, comma's, periods, parentheses, underscores (_) and hyphens (-))"></i>
</label>
<div class="col-sm-8">
<input name="group_description" id="f-group-create-description" class="form-control" type="text" placeholder="Enter a short description" pattern="^[a-zA-Z0-9,.()_ -]*$" oninvalid="setCustomValidity('Please enter only letters a-z, numbers, spaces, comma\'s, periods, parentheses, underscores (_) and hyphens (-).')" onchange="setCustomValidity('')" />
<input name="group_description" id="f-group-create-description" class="form-control" type="text" placeholder="Enter a short description" pattern="^[a-zA-Z0-9,.\(\)_ \-]*$" oninvalid="setCustomValidity('Please enter only letters a-z, numbers, spaces, comma\'s, periods, parentheses, underscores (_) and hyphens (-).')" onchange="setCustomValidity('')" />
</div>
</div>

Expand Down Expand Up @@ -221,7 +221,7 @@ <h1 id="group-manager-text">Group manager</h1>
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroupPrepend">grp-</span>
</div>
<input name="group_name" id="f-group-update-name" class="form-control" type="text" pattern="^([a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9])$" required oninvalid="setCustomValidity('Please enter only lowercase letters, numbers, and hyphens (-). The group name may not start or end with a hyphen.')" onchange="setCustomValidity('')" disabled />
<input name="group_name" id="f-group-update-name" class="form-control" type="text" pattern="^([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$" required oninvalid="setCustomValidity('Please enter only lowercase letters, numbers, and hyphens (-). The group name may not start or end with a hyphen.')" onchange="setCustomValidity('')" disabled />
</div>
</div>
</div>
Expand Down Expand Up @@ -285,7 +285,7 @@ <h1 id="group-manager-text">Group manager</h1>
<i class="fa-solid fa-question-circle" aria-hidden="true" title="Description for this group (may only contain letters a-z, numbers, spaces, comma's, periods, parentheses, underscores (_) and hyphens (-))"></i>
</label>
<div class="col-sm-8">
<input name="group_description" id="f-group-update-description" class="form-control" type="text" placeholder="Enter a short description" pattern="^[a-zA-Z0-9,.()_ -]*$" oninvalid="setCustomValidity('Please enter only letters a-z, numbers, spaces, comma\'s, periods, parentheses, underscores (_) and hyphens (-).')" onchange="setCustomValidity('')" />
<input name="group_description" id="f-group-update-description" class="form-control" type="text" placeholder="Enter a short description" pattern="^[a-zA-Z0-9,.\(\)_ \-]*$" oninvalid="setCustomValidity('Please enter only letters a-z, numbers, spaces, comma\'s, periods, parentheses, underscores (_) and hyphens (-).')" onchange="setCustomValidity('')" />
</div>
</div>

Expand Down

0 comments on commit a9f54d3

Please sign in to comment.