Browse Source

add benchmark_category

tags/v1.21.12.1
Gitea 4 years ago
parent
commit
68463ed747
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/repo/cloudbrain/new.tmpl

+ 2
- 2
templates/repo/cloudbrain/new.tmpl View File

@@ -127,7 +127,7 @@

<div class="inline required field cloudbrain_benchmark">
<label style="vertical-align: top; margin-top:9px">数据集类别</label>
<select class="ui search dropdown" id="cloudbrain_benchmark_category" style='width:385px' name="benchmark_category">
<select class="ui search dropdown" multiple="" id="cloudbrain_benchmark_category" style='width:385px' name="benchmark_category">
{{range .benchmark_categories}}
<option name="benchmark_category" value="{{.Value}}">{{.Value}}</option>
{{end}}
@@ -203,7 +203,7 @@
}
}

$('.clearable.example .ui.inline.dropdown')
$('#cloudbrain_benchmark_category')
.dropdown({
placeholder: "选择数据集类别"
})


Loading…
Cancel
Save