<commit_before><%@ page import="java.util.regex.Pattern" %>
<%--
 Copyright 2010 DTO Labs, Inc. (http://dtolabs.com)

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

 --%>
<%--
    _optionValuesSelect.gsp
    
    Author: <NAME> <a href="mailto:<EMAIL>"><EMAIL></a>
    Created: May 7, 2010 2:42:23 PM
    $Id$
 --%>

<div class="row" data-bind="if: option">
    <%-- Print out the input box for random input --%>
    <div data-bind="if: hasTextfield">
        <div data-bind="css: {'col-sm-8': hasExtended(), 'col-sm-12': !hasExtended() }">
            <div data-bind="if: secureInput()">
                <g:passwordField name="-"
                                 data-bind="value: value, attr: {name: fieldName}"
                                 class="optionvaluesfield  form-control"
                                 value=""
                                 autocomplete="new-password"
                                 size="40"/>
                <div data-bind="if: defaultStoragePath">
                    <span class="input-group-addon has_tooltip"
                          data-placement="left"
                          title="${message(code: "form.option.defaultStoragePath.present.description")}">
                        <g:icon name="lock"/>
                    </span>
                </div>
            </div>

            <div data-bind="if: !secureInput()">
                <g:textField name="-"
                             data-bind="value: value, attr: {name: fieldName}"
                             class="optionvaluesfield form-control"
                             value=""
                             size="40"/>
            </div>
        </div>
    </div>

    <div data-bind="if: !hasTextfield() && enforced() && hasError()">
        <div data-bind="css: {'col-sm-8': hasExtended(), 'col-sm-12': !hasExtended() }">
            <span class="info note"><g:message code="Execution.option.enforced.values.could.not.be.loaded"/></span>
            <input type="hidden"
                   data-bind="value: value, attr: {name: fieldName}"
                   value=""/>
        </div>
    </div><commit_msg>fix: hidden field included even if no remote error, cause failure due to multiple values<commit_after><%@ page import="java.util.regex.Pattern" %>
<%--
 Copyright 2010 DTO Labs, Inc. (http://dtolabs.com)

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

 --%>
<%--
    _optionValuesSelect.gsp
    
    Author: <NAME> <a href="mailto:<EMAIL>"><EMAIL></a>
    Created: May 7, 2010 2:42:23 PM
    $Id$
 --%>

<div class="row" data-bind="if: option">
    <%-- Print out the input box for random input --%>
    <div data-bind="if: hasTextfield">
        <div data-bind="css: {'col-sm-8': hasExtended(), 'col-sm-12': !hasExtended() }">
            <div data-bind="if: secureInput()">
                <g:passwordField name="-"
                                 data-bind="value: value, attr: {name: fieldName}"
                                 class="optionvaluesfield  form-control"
                                 value=""
                                 autocomplete="new-password"
                                 size="40"/>
                <div data-bind="if: defaultStoragePath">
                    <span class="input-group-addon has_tooltip"
                          data-placement="left"
                          title="${message(code: "form.option.defaultStoragePath.present.description")}">
                        <g:icon name="lock"/>
                    </span>
                </div>
            </div>

            <div data-bind="if: !secureInput()">
                <g:textField name="-"
                             data-bind="value: value, attr: {name: fieldName}"
                             class="optionvaluesfield form-control"
                             value=""
                             size="40"/>
            </div>
        </div>
    </div>

    <div data-bind="if: !hasTextfield() && enforced() && remoteError()">
        <div data-bind="css: {'col-sm-8': hasExtended(), 'col-sm-12': !hasExtended() }">
            <span class="info note"><g:message code="Execution.option.enforced.values.could.not.be.loaded"/></span>
            <input type="hidden"
                   data-bind="value: value, attr: {name: fieldName}"
                   value=""/>
        </div>
    </div>
{'fraction_non_alphanumeric': 0.13662024840045164, 'fraction_numerical': 0.010538200978547234, 'mean_word_length': 1.761038961038961, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1371797', 'n_tokens_mistral': 1466, 'n_tokens_neox': 1373, 'n_words': 395}