<commit_before>{{!
    Copyright (C) 2013 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://">
  <input type="hidden" name="kind" value="Directive" />
  {{> /static/mustache/base_objects/form_restore.mustache}}

  <!-- Title Row -->
  <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>
      {{^if_null '1'}}
      <input data-id="title_txtbx" tabindex="1" class="input-block-level" placeholder="Enter Title" name="title" type="text" value="{{title}}" autofocus>
      {{/if_null}}
      {{#instance.computed_errors.title}}<label class="help-inline warning">{{this}}</label>{{/instance.computed_errors.title}}
    </div>
    <div data-id="privacy_hidden" class="span6 hidable">
      <label>
      Privacy
        <i class="grcicon-help-black" rel="tooltip" title="Should only certain people know about this Program?  If so, make it Private."></i>
        <a data-id="hide_privacy_lk" href="javascript://" class="field-hide" tabindex="-1">hide</a>
      </label>
      <div class="checkbox-area">
        <input data-id="privacy_chkbx" tabindex="2" name="private" value="private" type="checkbox" {{#if private}}checked="checked"{{/if}}> Private Program
      </div>
    </div>
  </div>

  <!-- Description & owner/contact block  -->
  <div class="row-fluid">
    <div data-id="description_hidden" 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 data-id="hide_description_lk" href="javascript://" class="field-hide" tabindex="-1">hide</a>
      </label>
      <div class="wysiwyg-area">
        <textarea tabindex="3" id="program_description" class="span12 triple wysihtml5" name="description" placeholder="Enter Description">{{{description}}}</textarea>
      </div>
    </div>

    <div class="span6 hide-wrap hidable">      
      <div class="row-fluid inner-hide">
        <div data-id="owner_hidden" class="span12 hidable">
          <label>
            Owner
            <i class="grcicon-help-black" rel="tooltip" title="Program ownership is managed in the People widget."></i>
            <a data-id="hide_owner_lk" href="javascript://" class="field-hide" tabindex="-1">hide</a>
          </label>
          <div tabindex="4">
            {{#with_mapping "owners" instance}}
              <input data-id="owner_txtbx" class="input-block-level" name="owners.0.instance.email" data-lookup="Person" data-params="Person:is_enabled=1" placeholder="Enter email address" type="hidden" value="" />
              <input class="input-block-level" readonly="true" disabled="true" placeholder="Enter email address" type="text" value="{{owners.0.instance.email}}" />
            {{/with_mapping}}
          </div>
        </div>
      </div>
      {{> /static/mustache/base_objects/modal_contact_fields.mustache}}
    </div>
  </div>

  <!-- Notes & Process/Reference url block -->
  <div class="row-fluid"><commit_msg>Add program owner email to owner input field, CORE-600<commit_after>{{!
    Copyright (C) 2013 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://">
  <input type="hidden" name="kind" value="Directive" />
  {{> /static/mustache/base_objects/form_restore.mustache}}

  <!-- Title Row -->
  <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>
      {{^if_null '1'}}
      <input data-id="title_txtbx" tabindex="1" class="input-block-level" placeholder="Enter Title" name="title" type="text" value="{{title}}" autofocus>
      {{/if_null}}
      {{#instance.computed_errors.title}}<label class="help-inline warning">{{this}}</label>{{/instance.computed_errors.title}}
    </div>
    <div data-id="privacy_hidden" class="span6 hidable">
      <label>
      Privacy
        <i class="grcicon-help-black" rel="tooltip" title="Should only certain people know about this Program?  If so, make it Private."></i>
        <a data-id="hide_privacy_lk" href="javascript://" class="field-hide" tabindex="-1">hide</a>
      </label>
      <div class="checkbox-area">
        <input data-id="privacy_chkbx" tabindex="2" name="private" value="private" type="checkbox" {{#if private}}checked="checked"{{/if}}> Private Program
      </div>
    </div>
  </div>

  <!-- Description & owner/contact block  -->
  <div class="row-fluid">
    <div data-id="description_hidden" 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 data-id="hide_description_lk" href="javascript://" class="field-hide" tabindex="-1">hide</a>
      </label>
      <div class="wysiwyg-area">
        <textarea tabindex="3" id="program_description" class="span12 triple wysihtml5" name="description" placeholder="Enter Description">{{{description}}}</textarea>
      </div>
    </div>

    <div class="span6 hide-wrap hidable">      
      <div class="row-fluid inner-hide">
        <div data-id="owner_hidden" class="span12 hidable">
          <label>
            Owner
            <i class="grcicon-help-black" rel="tooltip" title="Program ownership is managed in the People widget."></i>
            <a data-id="hide_owner_lk" href="javascript://" class="field-hide" tabindex="-1">hide</a>
          </label>
          <div tabindex="4">
            {{#with_mapping "owners" instance}}
              <input data-id="owner_txtbx" class="input-block-level" name="owners.0.instance.email" data-lookup="Person" data-params="Person:is_enabled=1" placeholder="Enter email address" type="hidden" value="" />
              <input class="input-block-level" readonly="true" disabled="true" placeholder="Enter email address" type="text" value="{{private_program_owner instance modal_title}}" />
            {{/with_mapping}}
          </div>
        </div>
      </div>
      {{> /static/mustache/base_objects/modal_contact_fields.mustache}}
    </div>
  </div>

  <!-- Notes & Process/Reference url block -->
  <div class="row-fluid">
{'fraction_non_alphanumeric': 0.17355259581407992, 'fraction_numerical': 0.0073389508018483285, 'mean_word_length': 3.4844606946983547, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 137, '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': '370336', 'n_tokens_mistral': 2292, 'n_tokens_neox': 2233, 'n_words': 511}