| Línea 58... |
Línea 58... |
| 58 |
|
58 |
|
| 59 |
{{#config}}
|
59 |
{{#config}}
|
| 60 |
<div data-region="rule-base" class="form">
|
60 |
<div data-region="rule-base" class="form">
|
| 61 |
<div data-region="rule-outcome" class="mb-3">
|
61 |
<div data-region="rule-outcome" class="mb-3">
|
| 62 |
<label>{{#str}}outcome, tool_lp{{/str}}</label>
|
62 |
<label>{{#str}}outcome, tool_lp{{/str}}</label>
|
| 63 |
<select name="outcome" class="custom-select">
|
63 |
<select name="outcome" class="form-select">
|
| 64 |
{{#outcomes}}
|
64 |
{{#outcomes}}
|
| 65 |
<option value="{{code}}" {{#selected}}selected{{/selected}}>{{name}}</option>
|
65 |
<option value="{{code}}" {{#selected}}selected{{/selected}}>{{name}}</option>
|
| 66 |
{{/outcomes}}
|
66 |
{{/outcomes}}
|
| 67 |
</select>
|
67 |
</select>
|
| 68 |
</div>
|
68 |
</div>
|
| 69 |
<div data-region="rule-type" class="mb-3">
|
69 |
<div data-region="rule-type" class="mb-3">
|
| 70 |
<label>{{#str}}when, tool_lp{{/str}}</label>
|
70 |
<label>{{#str}}when, tool_lp{{/str}}</label>
|
| 71 |
<select name="rule" class="custom-select">
|
71 |
<select name="rule" class="form-select">
|
| 72 |
<option value="-1">{{#str}}choosedots{{/str}}</option>
|
72 |
<option value="-1">{{#str}}choosedots{{/str}}</option>
|
| 73 |
{{#rules}}
|
73 |
{{#rules}}
|
| 74 |
<option value="{{type}}" {{#selected}}selected{{/selected}}>{{name}}</option>
|
74 |
<option value="{{type}}" {{#selected}}selected{{/selected}}>{{name}}</option>
|
| 75 |
{{/rules}}
|
75 |
{{/rules}}
|
| Línea 79... |
Línea 79... |
| 79 |
<div data-region="rule-config">
|
79 |
<div data-region="rule-config">
|
| 80 |
</div>
|
80 |
</div>
|
| 81 |
{{/config}}
|
81 |
{{/config}}
|
| 82 |
</div>
|
82 |
</div>
|
| Línea 83... |
Línea 83... |
| 83 |
|
83 |
|
| 84 |
<div data-region="footer" class="float-sm-right mt-1">
|
84 |
<div data-region="footer" class="float-sm-end mt-1">
|
| 85 |
{{#config}}
|
85 |
{{#config}}
|
| 86 |
<input type="button" class="btn btn-primary" data-action="save" value="{{#str}}savechanges{{/str}}"/>
|
86 |
<input type="button" class="btn btn-primary" data-action="save" value="{{#str}}savechanges{{/str}}"/>
|
| 87 |
{{/config}}
|
87 |
{{/config}}
|
| 88 |
<input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
|
88 |
<input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
|