removed 'to' input for match update form
This commit is contained in:
parent
42dc916966
commit
ab3f02778f
1 changed files with 1 additions and 4 deletions
|
@ -340,6 +340,7 @@
|
||||||
<input type="hidden" name="filter_id" value="{{ .ID }}" >
|
<input type="hidden" name="filter_id" value="{{ .ID }}" >
|
||||||
<input type="hidden" name="filter_group_id" value="{{ .FilterGroupID }}" >
|
<input type="hidden" name="filter_group_id" value="{{ .FilterGroupID }}" >
|
||||||
<input type="hidden" name="filter_type" value="match" >
|
<input type="hidden" name="filter_type" value="match" >
|
||||||
|
<input type="hidden" name="to" value="-" >
|
||||||
|
|
||||||
<label for="nameInput" class="col-sm-2 col-form-label">Name:</label>
|
<label for="nameInput" class="col-sm-2 col-form-label">Name:</label>
|
||||||
<div class="col-sm-10 p-2">
|
<div class="col-sm-10 p-2">
|
||||||
|
@ -349,10 +350,6 @@
|
||||||
<div class="col-sm-10 p-2">
|
<div class="col-sm-10 p-2">
|
||||||
<input type="text" class="form-control" name="from" id="fromInput" value="{{ if eq .Type "match" }}{{ .From }}{{ end }}" placeholder="So[mM]e(thing|where)">
|
<input type="text" class="form-control" name="from" id="fromInput" value="{{ if eq .Type "match" }}{{ .From }}{{ end }}" placeholder="So[mM]e(thing|where)">
|
||||||
</div>
|
</div>
|
||||||
<label for="toInput" class="col-sm-2 col-form-label">To:</label>
|
|
||||||
<div class="col-sm-10 p-2">
|
|
||||||
<input type="text" class="form-control" name="to" id="toInput" value="{{ if eq .Type "match" }}{{ .To }}{{ end }}" placeholder="Else">
|
|
||||||
</div>
|
|
||||||
<button class="btn btn-primary mt-4">Update</button>
|
<button class="btn btn-primary mt-4">Update</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Reference in a new issue