url field also validating scripts

This commit is contained in:
Jeroen De Meerleer 2017-05-10 10:48:58 +02:00
parent 241e25582e
commit 7e9d9e3568
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 4 additions and 4 deletions

View File

@ -18,11 +18,11 @@
<div class="form-group">
<label for="name">Name</label>
<input type="text" name="name" class="form-control" id="name" placeholder="blah">
<input type="text" name="name" class="form-control" id="name" placeholder="System update">
</div>
<div class="form-group">
<label for="url">url</label>
<input type="url" name="url" class="form-control" id="url" placeholder="https://">
<input type="text" name="url" class="form-control" id="url" placeholder="http://example.com/ or 'sudo yum update -y'">
</div>
<div class="form-group">

View File

@ -13,11 +13,11 @@
<div class="form-group">
<label for="name">Name</label>
<input type="text" name="name" class="form-control" id="name" placeholder="blah" value="{{ name }}">
<input type="text" name="name" class="form-control" id="name" placeholder="System update">
</div>
<div class="form-group">
<label for="url">url</label>
<input type="url" name="url" class="form-control" id="url" placeholder="https://" value="{{ url }}">
<input type="text" name="url" class="form-control" id="url" placeholder="http://example.com/ or 'sudo yum update -y'">
</div>
<div class="form-group">