aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/dictionary.html11
1 files changed, 4 insertions, 7 deletions
diff --git a/tmpl/dictionary.html b/tmpl/dictionary.html
index d9d2726a..17656747 100644
--- a/tmpl/dictionary.html
+++ b/tmpl/dictionary.html
@@ -17,14 +17,11 @@
</div>
</div>
+ <div class="checkbox dict-group-controls">
+ <label><input type="checkbox" class="dict-enabled" {{#if enabled}}checked{{/if}}> Enable search</label>
+ </div>
<div class="form-group dict-group-controls">
- <label for="dict-{{title}}">Priority</label>
+ <label for="dict-{{title}}">Result priority</label>
<input type="number" value="{{priority}}" id="dict-{{title}}" class="form-control dict-priority">
</div>
- <div class="checkbox dict-group-controls {{#unless hasTerms}}disabled{{/unless}}">
- <label><input type="checkbox" class="dict-enable-terms" {{#unless hasTerms}}disabled{{/unless}} {{#if enableTerms}}checked{{/if}}> Enable term search</label>
- </div>
- <div class="checkbox dict-group-controls {{#unless hasKanji}}disabled{{/unless}}">
- <label><input type="checkbox" class="dict-enable-kanji" {{#unless hasKanji}}disabled{{/unless}} {{#if enableKanji}}checked{{/if}}> Enable Kanji search</label>
- </div>
</div>