Changed .add to .create
This commit is contained in:
@@ -110,8 +110,8 @@
|
||||
});
|
||||
});
|
||||
|
||||
app.subscribe(/./g, function(data, topic){
|
||||
console.log('topic', data);
|
||||
app.subscribe(/^model:Host/, function(data, topic){
|
||||
console.log(topic, data);
|
||||
});
|
||||
|
||||
//search bar html event logic stolen from here
|
||||
@@ -299,7 +299,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-header actionMessage" style="display:none"></div>
|
||||
<div class="card-header search-wrapper">
|
||||
<div class="card-body search-wrapper">
|
||||
<label class="control-label" for="search" style="margin-left: -5px;">Search Hosts: </label>
|
||||
<input type="search" id="search" host-search>
|
||||
</div>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="row" style="display:none">
|
||||
<div class="col-md-4">
|
||||
<div class="card shadow-lg">
|
||||
|
||||
|
||||
<div class="card-header text-center">
|
||||
<span class="card-icon float-start">
|
||||
<i class="fa-solid fa-user-plus"></i>
|
||||
@@ -83,7 +83,10 @@
|
||||
<label class="control-label">Again</label>
|
||||
<input type="password" class="form-control" name="passwordMatch" placeholder="Retype password" validate="eq:password"/>
|
||||
</div>
|
||||
<button type="button" onclick="formAJAX(this)" class="btn btn-info">Add</button>
|
||||
<hr />
|
||||
<button type="button" onclick="formAJAX(this)" class="btn btn-info">
|
||||
Add
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user