#4 -- Fix create rule
All checks were successful
CI fuzzy controller / container-test-job (push) Successful in 59s
All checks were successful
CI fuzzy controller / container-test-job (push) Successful in 59s
This commit is contained in:
parent
377c879378
commit
3f4072a757
@ -185,7 +185,7 @@ function removeAntecedent(buttonElement) {
|
|||||||
|
|
||||||
function removeConsequent(buttonElement) {
|
function removeConsequent(buttonElement) {
|
||||||
$(buttonElement).parent().remove();
|
$(buttonElement).parent().remove();
|
||||||
//fuzzyTermsValueChanged();
|
fuzzyTermsValueChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
function addAntecedent(parentElement, projectId, variableVal, termVal) {
|
function addAntecedent(parentElement, projectId, variableVal, termVal) {
|
||||||
|
@ -13,12 +13,11 @@
|
|||||||
<input type="hidden" id="projectId" th:field="*{projectId}">
|
<input type="hidden" id="projectId" th:field="*{projectId}">
|
||||||
<input type="hidden" th:field="*{id}">
|
<input type="hidden" th:field="*{id}">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="ruleContent">Правило</label>
|
|
||||||
<input th:field="*{content}"
|
<input th:field="*{content}"
|
||||||
id="ruleContent"
|
id="ruleContent"
|
||||||
type="text"
|
type="text"
|
||||||
required
|
required
|
||||||
class="form-control"
|
class="form-control d-none"
|
||||||
placeholder="Правило">
|
placeholder="Правило">
|
||||||
<p th:if="${#fields.hasErrors('content')}"
|
<p th:if="${#fields.hasErrors('content')}"
|
||||||
th:class="${#fields.hasErrors('content')}? error">
|
th:class="${#fields.hasErrors('content')}? error">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user