<commit_before><h1>Invite a new team member.</h1>

<form class="wy-aligned">

  <div class="wy-control-group">
    <label>Invite a new collaborator by email</label>
    {{input type="email" required="required" value=inviteEmail }}
    <div class="wy-form-message">The person will not be active until they verify their email address.</div>
  </div>

  <div class="wy-btn-group">
    <button class="btn btn-neutral icon icon-user" {{ bind-attr disabled=isInvalidEmail }} {{ action "sendInvite" }}> Send invite</button>
  </div>

  {{#if error}}
    <div class="wy-alert wy-alert-warning">
      <div class="wy-alert-title">{{ error.code }}</div>
      {{error.message}}
    </div><commit_msg>instructions for team members<commit_after><h1>Invite a new team member.</h1>

<form class="wy-aligned">
  {{#if session.isDeployed}}
    <div class="wy-control-group">
      <label>Invite a new collaborator by email</label>
      {{input type="email" required="required" value=inviteEmail }}
      <div class="wy-form-message">The person will not be active until they verify their email address.</div>
    </div>
    <div class="wy-btn-group">
      <button class="btn btn-neutral icon icon-user" {{ bind-attr disabled=isInvalidEmail }} {{ action "sendInvite" }}> Send invite</button>
    </div>
  {{else}}
    <div class="wy-alert wy-alert-danger">
      <div class="wy-alert-title">You need to deploy first</div>
      <p>Before you can add new members to your team you need to deploy the site onto the Internet. You can do this by running <code>wh deploy</code> in your local site directory. Then return to this page.</p>
    </div>
  {{/if}}


  {{#if error}}
    <div class="wy-alert wy-alert-warning">
      <div class="wy-alert-title">{{ error.code }}</div>
      {{error.message}}
    </div>
{'fraction_non_alphanumeric': 0.16145251396648044, 'fraction_numerical': 0.0022346368715083797, 'mean_word_length': 3.627906976744186, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6940128', 'n_tokens_mistral': 564, 'n_tokens_neox': 556, 'n_words': 168}