| @@ -126,8 +126,8 @@ | |||||
| </div> | </div> | ||||
| <div class="inline required field cloudbrain_benchmark"> | <div class="inline required field cloudbrain_benchmark"> | ||||
| <label>数据集类别</label> | |||||
| <select class="ui search dropdown" id="cloudbrain_benchmark_category" placeholder="选择数据集类别" style='width:385px' name="benchmark_category"> | |||||
| <label style="vertical-align: top; margin-top:9px">数据集类别</label> | |||||
| <select class="ui search dropdown" multiple="" id="cloudbrain_benchmark_category" style='width:385px' name="benchmark_category"> | |||||
| {{range .benchmark_categories}} | {{range .benchmark_categories}} | ||||
| <option name="benchmark_category" value="{{.Value}}">{{.Value}}</option> | <option name="benchmark_category" value="{{.Value}}">{{.Value}}</option> | ||||
| {{end}} | {{end}} | ||||
| @@ -206,6 +206,11 @@ | |||||
| } | } | ||||
| } | } | ||||
| $('#cloudbrain_benchmark_category') | |||||
| .dropdown({ | |||||
| placeholder: "选择数据集类别" | |||||
| }) | |||||
| $('select.dropdown') | $('select.dropdown') | ||||
| .dropdown(); | .dropdown(); | ||||