mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-04 21:05:26 +00:00
Fix slug validation regex
This commit is contained in:
parent
abe0b28926
commit
f8d8ca56b2
2 changed files with 2 additions and 2 deletions
templates/front
|
@ -40,7 +40,7 @@
|
|||
type="text"
|
||||
maxlength="100"
|
||||
value="{{ check.slug }}"
|
||||
pattern="[a-z0-9_-]+"
|
||||
pattern="[a-z0-9_\-]+"
|
||||
class="form-control" />
|
||||
<span class="input-group-btn">
|
||||
<button
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
type="text"
|
||||
maxlength="100"
|
||||
value="{{ check.slug }}"
|
||||
pattern="[a-z0-9_-]+"
|
||||
pattern="[a-z0-9_\-]+"
|
||||
data-src-id="update-name-input"
|
||||
data-btn-id="use-suggested"
|
||||
data-preview-id="slug-help"
|
||||
|
|
Loading…
Add table
Reference in a new issue