<commit_before>{{!
    Copyright (C) 2014 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: <EMAIL>
    Maintained By: <EMAIL>
}}

{{!div class="modal-body"}}
<div class="hideable-holder"> 
{{#instance}}
<form action="javascript://">
  {{> /static/mustache/base_objects/form_restore.mustache}}

  <div class="row-fluid">
    <div class="span6 {{#instance.computed_errors.title}}field-failure{{/instance.computed_errors.title}}">
      <label>
        Title
        <span class="required">*</span>
        <i class="grcicon-help-black" rel="tooltip" title="Give new {{model.model_plural}} a name that's easy to search for and indicates the main goals of this {{model.model_singular}}."></i>
      </label>
      <input tabindex="1" class="input-block-level" placeholder="Enter Title" name="title" type="text" value="{{title}}" autofocus>
      {{#instance.computed_errors.title}}<label class="help-inline warning">{{this}}</label>{{/instance.computed_errors.title}}
    </div>
  </div>
  
  <div class="row-fluid">
    <div class="span6 hidable">
      <label>
        Description
        <i class="grcicon-help-black" rel="tooltip" title="Provide more details on the purpose of this {{model.model_singular}} and provide context for how and when this {{model.model_singular}} might be used."></i>
        <a href="javascript://" class="field-hide">hide</a>
      </label>
      <div class="wysiwyg-area">
        <textarea tabindex="2" id="system_description" class="span12 double wysihtml5" name="description" placeholder="Enter Description">{{{description}}}</textarea>
      </div>
    </div>

    <div class="span6 hide-wrap hidable">      
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          {{#using owner=instance.owners.0 model_singular=model.model_singular}}
          <label>
            Owner
            <i class="grcicon-help-black" rel="tooltip" title="This is the person in charge of this {{model_singular}}."></i>
            <a href="javascript://" class="field-hide">hide</a>
          </label>
          <input tabindex="3" class="input-block-level" name="owners.0.email" data-lookup="Person" data-list="true" placeholder="Enter email address" type="text" value="{{firstexist owner.email ''}}" />
          {{/using}}
        </div>
      </div>
      
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          {{#using contact=instance.contact model_singular=model.model_singular}}
          <label>
            Contact
            <i class="grcicon-help-black" rel="tooltip" title="Point of contact for this object"></i>
            <a href="javascript://" class="field-hide">hide</a>
          </label>
          <input tabindex="3" class="input-block-level" name="contact.email" data-lookup="Person" placeholder="Enter email address" type="text" value="{{firstexist contact.email ''}}" />
          {{/using}}
        </div>
      </div>
    </div>
  </div>
  
  <div class="row-fluid">
    <div class="span6 hidable">
      <label>
        Notes
        <i class="grcicon-help-black" rel="tooltip" title="Append simple text or html notes here."></i>
        <a href="javascript://" class="field-hide">hide</a>
      </label>
      <div class="wysiwyg-area">
        <textarea tabindex="4" id="notes" class="span12 double wysihtml5" name="notes" placeholder="Enter Notes">{{{notes}}}</textarea>
      </div>
    </div>
    
    <div class="span6 hide-wrap hidable">      
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          <label>
            Vendor URL
            <i class="grcicon-help-black" rel="tooltip" title="Web link to the Sites page / {{model.model_singular}} documentation."></i>
            <a href="javascript://" class="field-hide">hide</a>
          </label>
          <input tabindex="5" class="input-block-level" name="url" placeholder="http://www.domain.com/" type="text" value="{{url}}">
        </div>
      </div>
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          <label>
            Reference URL
            <i class="grcicon-help-black" rel="tooltip" title="Web links to other references."></i>
            <a href="javascript://" class="field-hide">hide</a>
          </label>
          <input tabindex="6" id="reference_url" class="input-block-level" placeholder="https://www.example.com/" name="reference_url" type="text" value="{{reference_url}}">
        </div>
      </div>
    </div>
  </div>
  
  <div>
    <div class="row-fluid">
      <div class="span4 hidable">
        <label>
          Code
          <i class="grcicon-help-black" rel="tooltip" title="The gGRC application will automatically provide codes for new objects.  If you would like to override this feature you may manually enter a code of your choosing.  You should have a specific reason for doing this."></i>
          <a href="javascript://" class="field-hide">hide</a>
        </label>
        <input tabindex="7" class="input-block-level" name="slug" placeholder="VENDOR-XXX" type="text" value="{{slug}}">
      </div>
      <div class="span4 hidable">
        <label>
          Effective Date
          <i class="grcicon-help-black" rel="tooltip" title="Enter the date this object becomes effective."></i>
          <a href="javascript://" class="field-hide">hide</a>
        </label>
        <input tabindex="8" class="input-block-level date" name="start_date" data-toggle="datepicker" data-before="end_date" placeholder="MM/DD/YYYY" type="text" value="{{localize_date start_date}}">
      </div>
      <div class="span4 hidable">
        <label>
          Stop Date
          <i class="grcicon-help-black" rel="tooltip" title="Enter the date the object stops being effective."></i>
          <a href="javascript://" class="field-hide">hide</a>
        </label>
        <input tabindex="9" class="input-block-level date" name="end_date" data-toggle="datepicker" data-after="start_date" placeholder="MM/DD/YYYY" type="text" value="{{localize_date end_date}}">
      </div>
    </div>
    <div class="row-fluid inner-hide">
      <div class="span4 hidable">
        <label>
          State
          <i class="grcicon-help-black" rel="tooltip" title="Indicates the status of this object."></i>
          <a href="javascript://" class="field-hide">hide</a>
        </label>
        <select class="input-block-level" name="status" null-if-empty="null-if-empty" tabindex="10">
          <option value="" {{#if_equals status ""}}selected{{/if_equals}}>---</option>
          {{#iterate 'Draft', 'Final', 'Effective', 'Ineffective', 'Launched', 'Not Launched', 'In Scope', 'Not in Scope', 'Deprecated'}}
            <option {{#if_equals iterator status}}selected="true"{{/if_equals}}>{{iterator}}</option>
          {{/iterate}}
        </select>
      </div>
    </div>
</form>
{{/instance}}
</div>
{{!/div}}<commit_msg>Added  tabindex="-1" to all hide links.<commit_after>{{!
    Copyright (C) 2014 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: <EMAIL>
    Maintained By: <EMAIL>
}}

{{!div class="modal-body"}}
<div class="hideable-holder"> 
{{#instance}}
<form action="javascript://">
  {{> /static/mustache/base_objects/form_restore.mustache}}

  <div class="row-fluid">
    <div class="span6 {{#instance.computed_errors.title}}field-failure{{/instance.computed_errors.title}}">
      <label>
        Title
        <span class="required">*</span>
        <i class="grcicon-help-black" rel="tooltip" title="Give new {{model.model_plural}} a name that's easy to search for and indicates the main goals of this {{model.model_singular}}."></i>
      </label>
      <input tabindex="1" class="input-block-level" placeholder="Enter Title" name="title" type="text" value="{{title}}" autofocus>
      {{#instance.computed_errors.title}}<label class="help-inline warning">{{this}}</label>{{/instance.computed_errors.title}}
    </div>
  </div>
  
  <div class="row-fluid">
    <div class="span6 hidable">
      <label>
        Description
        <i class="grcicon-help-black" rel="tooltip" title="Provide more details on the purpose of this {{model.model_singular}} and provide context for how and when this {{model.model_singular}} might be used."></i>
        <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
      </label>
      <div class="wysiwyg-area">
        <textarea tabindex="2" id="system_description" class="span12 double wysihtml5" name="description" placeholder="Enter Description">{{{description}}}</textarea>
      </div>
    </div>

    <div class="span6 hide-wrap hidable">      
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          {{#using owner=instance.owners.0 model_singular=model.model_singular}}
          <label>
            Owner
            <i class="grcicon-help-black" rel="tooltip" title="This is the person in charge of this {{model_singular}}."></i>
            <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
          </label>
          <input tabindex="3" class="input-block-level" name="owners.0.email" data-lookup="Person" data-list="true" placeholder="Enter email address" type="text" value="{{firstexist owner.email ''}}" />
          {{/using}}
        </div>
      </div>
      
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          {{#using contact=instance.contact model_singular=model.model_singular}}
          <label>
            Contact
            <i class="grcicon-help-black" rel="tooltip" title="Point of contact for this object"></i>
            <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
          </label>
          <input tabindex="3" class="input-block-level" name="contact.email" data-lookup="Person" placeholder="Enter email address" type="text" value="{{firstexist contact.email ''}}" />
          {{/using}}
        </div>
      </div>
    </div>
  </div>
  
  <div class="row-fluid">
    <div class="span6 hidable">
      <label>
        Notes
        <i class="grcicon-help-black" rel="tooltip" title="Append simple text or html notes here."></i>
        <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
      </label>
      <div class="wysiwyg-area">
        <textarea tabindex="4" id="notes" class="span12 double wysihtml5" name="notes" placeholder="Enter Notes">{{{notes}}}</textarea>
      </div>
    </div>
    
    <div class="span6 hide-wrap hidable">      
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          <label>
            Vendor URL
            <i class="grcicon-help-black" rel="tooltip" title="Web link to the Sites page / {{model.model_singular}} documentation."></i>
            <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
          </label>
          <input tabindex="5" class="input-block-level" name="url" placeholder="http://www.domain.com/" type="text" value="{{url}}">
        </div>
      </div>
      <div class="row-fluid inner-hide">
        <div class="span12 hidable">
          <label>
            Reference URL
            <i class="grcicon-help-black" rel="tooltip" title="Web links to other references."></i>
            <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
          </label>
          <input tabindex="6" id="reference_url" class="input-block-level" placeholder="https://www.example.com/" name="reference_url" type="text" value="{{reference_url}}">
        </div>
      </div>
    </div>
  </div>
  
  <div>
    <div class="row-fluid">
      <div class="span4 hidable">
        <label>
          Code
          <i class="grcicon-help-black" rel="tooltip" title="The gGRC application will automatically provide codes for new objects.  If you would like to override this feature you may manually enter a code of your choosing.  You should have a specific reason for doing this."></i>
          <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
        </label>
        <input tabindex="7" class="input-block-level" name="slug" placeholder="VENDOR-XXX" type="text" value="{{slug}}">
      </div>
      <div class="span4 hidable">
        <label>
          Effective Date
          <i class="grcicon-help-black" rel="tooltip" title="Enter the date this object becomes effective."></i>
          <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
        </label>
        <input tabindex="8" class="input-block-level date" name="start_date" data-toggle="datepicker" data-before="end_date" placeholder="MM/DD/YYYY" type="text" value="{{localize_date start_date}}">
      </div>
      <div class="span4 hidable">
        <label>
          Stop Date
          <i class="grcicon-help-black" rel="tooltip" title="Enter the date the object stops being effective."></i>
          <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
        </label>
        <input tabindex="9" class="input-block-level date" name="end_date" data-toggle="datepicker" data-after="start_date" placeholder="MM/DD/YYYY" type="text" value="{{localize_date end_date}}">
      </div>
    </div>
    <div class="row-fluid inner-hide">
      <div class="span4 hidable">
        <label>
          State
          <i class="grcicon-help-black" rel="tooltip" title="Indicates the status of this object."></i>
          <a href="javascript://" class="field-hide" tabindex="-1">hide</a>
        </label>
        <select class="input-block-level" name="status" null-if-empty="null-if-empty" tabindex="10">
          <option value="" {{#if_equals status ""}}selected{{/if_equals}}>---</option>
          {{#iterate 'Draft', 'Final', 'Effective', 'Ineffective', 'Launched', 'Not Launched', 'In Scope', 'Not in Scope', 'Deprecated'}}
            <option {{#if_equals iterator status}}selected="true"{{/if_equals}}>{{iterator}}</option>
          {{/iterate}}
        </select>
      </div>
    </div>
</form>
{{/instance}}
</div>
{{!/div}}
{'fraction_non_alphanumeric': 0.17656625654080046, 'fraction_numerical': 0.006859001555649838, 'mean_word_length': 2.964956546117185, 'pattern_counts': {'":': 0, '<': 289, '<?xml version=': 0, '>': 291, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, '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': '6983694', 'n_tokens_mistral': 4349, 'n_tokens_neox': 4256, 'n_words': 1008}