<commit_before>%{--
  - Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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.
  --}%
 <%--
    createResourceModelConfig.gsp.gsp

    Author: <NAME> <a href="mailto:<EMAIL>"><EMAIL></a>
    Created: 7/28/11 2:16 PM
 --%>

<%@ page import="com.dtolabs.rundeck.core.plugins.configuration.PropertyScope" contentType="text/html;charset=UTF-8" %>
<div class="">
<g:if test="${description}">
  <div class="row">
    <div class="col-sm-12">
      <div class="h4 text-info"><g:enc>${description.title}</g:enc>
        <small class="text-primary"><g:enc>${description.description}</g:enc></small>
      </div>
    </div>
  </div>
</g:if>
  <div class="row ${description?'row-space':''}">
  <g:if test="${error}">
    <div class="col-sm-12">
      <div class="alert alert-warning resourceConfigEdit"><g:enc>${error}</g:enc></div>
    </div>
  </g:if>
  <g:if test="${isCreate}">
    <g:hiddenField name="isCreate" value="true" class="isCreate"/>
  </g:if>
  <g:elseif test="${isEdit}">
    <g:hiddenField name="isEdit" value="true" class="isEdit"/>
  </g:elseif>
  <g:hiddenField name="prefix" value="${prefix}"/>
  <g:hiddenField name="${prefix+'type'}" value="${type}"/>
  <g:if test="${description}">
    <div class="col-sm-12 form-horizontal">
      <g:render template="/framework/pluginConfigPropertiesInputs" model="${[
                          service:com.dtolabs.rundeck.plugins.ServiceNameConstants.ResourceModelSource,
                          provider:description.name,
                          properties:description.properties,
                          report:report,
                          prefix:prefix,
                          values:values,<commit_msg>Use standard plugin display for model source title<commit_after>%{--
  - Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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.
  --}%
 <%--
    createResourceModelConfig.gsp.gsp

    Author: <NAME> <a href="mailto:<EMAIL>"><EMAIL></a>
    Created: 7/28/11 2:16 PM
 --%>

<%@ page import="com.dtolabs.rundeck.core.plugins.configuration.PropertyScope" contentType="text/html;charset=UTF-8" %>
<div class="">
<g:if test="${description}">
  <div class="row">
    <div class="col-sm-12">
      <g:render template="/framework/renderPluginDesc" model="${[
              serviceName: 'ResourceModelSource',
              description: description,
              showPluginIcon:true,
              titleCss:'h4'
      ]}"/>
    </div>
  </div>
</g:if>
  <div class="row ${description?'row-space':''}">
  <g:if test="${error}">
    <div class="col-sm-12">
      <div class="alert alert-warning resourceConfigEdit"><g:enc>${error}</g:enc></div>
    </div>
  </g:if>
  <g:if test="${isCreate}">
    <g:hiddenField name="isCreate" value="true" class="isCreate"/>
  </g:if>
  <g:elseif test="${isEdit}">
    <g:hiddenField name="isEdit" value="true" class="isEdit"/>
  </g:elseif>
  <g:hiddenField name="prefix" value="${prefix}"/>
  <g:hiddenField name="${prefix+'type'}" value="${type}"/>
  <g:if test="${description}">
    <div class="col-sm-12 form-horizontal">
      <g:render template="/framework/pluginConfigPropertiesInputs" model="${[
                          service:com.dtolabs.rundeck.plugins.ServiceNameConstants.ResourceModelSource,
                          provider:description.name,
                          properties:description.properties,
                          report:report,
                          prefix:prefix,
                          values:values,
{'fraction_non_alphanumeric': 0.15965103598691385, 'fraction_numerical': 0.010468920392584515, 'mean_word_length': 2.943250214961307, 'pattern_counts': {'":': 0, '<': 80, '<?xml version=': 0, '>': 78, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1890722', 'n_tokens_mistral': 1414, 'n_tokens_neox': 1374, 'n_words': 329}