<commit_before><%@ page import="com.dtolabs.rundeck.core.plugins.configuration.Description" %>
<g:if test="${orchestratorPlugins}">
    <div class="form-group">
        <div class="${labelColSize} control-label text-form-label">
            <g:message code="scheduledExecution.property.orchestrator.label"/>
        </div>
        <g:set var="setOrchestrator" value="${params?.orchestratorId ?: scheduledExecution?.orchestrator?.type}"/>
        <div class="${fieldColSize}">
            <g:select name="orchestratorId" optionKey="name" optionValue="title" from="${orchestratorPlugins}" noSelection="${['':'']}" value="${setOrchestrator}" class="form-control"/>

            <span class="help-block">
                <g:message code="scheduledExecution.property.orchestrator.description"/>
            </span>

            <g:each in="${orchestratorPlugins}" var="pluginDescription">
                <g:set var="pluginName" value="${pluginDescription.name}"/>
                <g:set var="prefix" value="${('orchestratorPlugin.'+ pluginName + '.config.').encodeAsHTML()}"/>
                <g:set var="definedNotif" value="${setOrchestrator == pluginName ? scheduledExecution?.orchestrator : null}"/>
                <g:set var="definedConfig"
                    value="${params.orchestratorPlugin?.get(pluginName)?.config ?: definedNotif?.configuration}"/>
                <span id="orchestratorPlugin${pluginName}" style="${wdgt.styleVisible(if: setOrchestrator == pluginName ? true : false)}"
                      class="orchestratorPlugin">
                <div>
                    <table class="simpleForm">
                        <g:each in="${pluginDescription?.properties}" var="prop">
                            <g:set var="outofscope" value="${prop.scope && !prop.scope.isInstanceLevel() && !prop.scope.isUnspecified()}"/>
                            <g:if test="${!outofscope || adminauth}">
                                <tr>
                                    <g:render
                                        template="/framework/pluginConfigPropertyField"
                                        model="${[prop: prop, prefix: prefix,
                                                values: definedConfig,
                                                fieldname: prefix + prop.name,
                                                origfieldname: 'orig.' + prefix + prop.name,
                                                outofscope: outofscope,
                                                pluginName: pluginName
                                        ]}"/>
                                </tr>
                            </g:if>
                        </g:each>
                    </table>
                </span>
                <wdgt:eventHandler for="orchestratorId" equals="${pluginName}"
                                   target="orchestratorPlugin${pluginName}" visible="true"/>
            </div>
        </g:each>

           
        </div>
    </div>
</g:if><commit_msg>Orchestrator config fields should use correct style<commit_after><%@ page import="com.dtolabs.rundeck.core.plugins.configuration.Description" %>
<g:if test="${orchestratorPlugins}">
    <div class="form-group">
        <div class="${labelColSize} control-label text-form-label">
            <g:message code="scheduledExecution.property.orchestrator.label"/>
        </div>
        <g:set var="setOrchestrator" value="${params?.orchestratorId ?: scheduledExecution?.orchestrator?.type}"/>
        <div class="${fieldColSize}">
            <g:select name="orchestratorId" optionKey="name" optionValue="title" from="${orchestratorPlugins}" noSelection="${['':'']}" value="${setOrchestrator}" class="form-control"/>

            <span class="help-block">
                <g:message code="scheduledExecution.property.orchestrator.description"/>
            </span>

            <g:each in="${orchestratorPlugins}" var="pluginDescription">
                <g:set var="pluginName" value="${pluginDescription.name}"/>
                <g:set var="prefix" value="${('orchestratorPlugin.'+ pluginName + '.config.')}"/>
                <g:set var="definedNotif" value="${setOrchestrator == pluginName ? scheduledExecution?.orchestrator : null}"/>
                <g:set var="definedConfig"
                    value="${params.orchestratorPlugin?.get(pluginName)?.config ?: definedNotif?.configuration}"/>
                <span id="orchestratorPlugin${pluginName}" style="${wdgt.styleVisible(if: setOrchestrator == pluginName ? true : false)}"
                      class="orchestratorPlugin">
                    <span class="text-info">
                        <g:render template="/scheduledExecution/description"
                                  model="[description: pluginDescription.description,
                                          textCss: '',
                                          mode: 'collapsed',
                                          moreText:'More Information',
                                          rkey: g.rkey()]"/>
                    </span>
                <div>
                    <table class="simpleForm">
                        <g:each in="${pluginDescription?.properties}" var="prop">
                            <g:set var="outofscope" value="${prop.scope && !prop.scope.isInstanceLevel() && !prop.scope.isUnspecified()}"/>
                            <g:if test="${!outofscope || adminauth}">
                                <tr>
                                    <g:render
                                        template="/framework/pluginConfigPropertyFormField"
                                        model="${[prop: prop, prefix: prefix,
                                                values: definedConfig,
                                                fieldname: prefix + prop.name,
                                                origfieldname: 'orig.' + prefix + prop.name,
                                                outofscope: outofscope,
                                                pluginName: pluginName
                                        ]}"/>
                                </tr>
                            </g:if>
                        </g:each>
                    </table>
                </div>
                </span>
                <wdgt:eventHandler for="orchestratorId" equals="${pluginName}"
                                   target="orchestratorPlugin${pluginName}" visible="true"/>
        </g:each>


        </div>
    </div>
</g:if>
{'fraction_non_alphanumeric': 0.13570991432068544, 'fraction_numerical': 0.0, 'mean_word_length': 1.452908067542214, 'pattern_counts': {'":': 0, '<': 78, '<?xml version=': 0, '>': 78, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 39, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3958215', 'n_tokens_mistral': 1504, 'n_tokens_neox': 1489, 'n_words': 241}