<commit_before>{% from "components/banner.html" import banner_wrapper %}

{% if request.args['help'] and request.args['help'] != '0' %}
  {% call banner_wrapper(type='tour') %}
      <p class="heading-medium">Get started</p>
      <div class="grid-row bottom-gutter" {% if request.args['help'] != '1' %}style="opacity: 0.6"{% endif %}>
        <div class="column-one-sixth">
          <p class="heading-large" style="float: left;">1.</p>
        </div>
        <div class="column-five-sixths">
          <p>
            Send yourself this example message
          </p>
        </div>
      </div>
      <div class="grid-row bottom-gutter" {% if request.args['help'] != '2' %}style="opacity: 0.6"{% endif %}>
        <div class="column-one-sixth">
          <p class="heading-large">2.</p>
        </div>
        <div class="column-five-sixths">
          <p>
            The template pulls in the data you provide
          </p>
        </div>
      </div>
      <div class="grid-row bottom-gutter" {% if request.args['help'] != '3' %}style="opacity: 0.6"{% endif %}>
        <div class="column-one-sixth">
          <p class="heading-large">3.</p>
        </div>
        <div class="column-five-sixths">
          <p>
            Now try it with your own message
          </p>
          {% if request.args['help'] == '3' %}
            {% if first_email_template %}
              <a href='{{ url_for(".edit_service_template", service_id=current_service.id, template_id=first_email_template.id) }}'>
                Write an email
              </a>
            {% endif %}
            <a href='{{ url_for(".edit_service_template", service_id=current_service.id, template_id=template.id) }}'>
              Write a text message<commit_msg>Redirect to the templates page after the tour<commit_after>{% from "components/banner.html" import banner_wrapper %}

{% if request.args['help'] and request.args['help'] != '0' %}
  {% call banner_wrapper(type='tour') %}
      <p class="heading-medium">Get started</p>
      <div class="grid-row bottom-gutter" {% if request.args['help'] != '1' %}style="opacity: 0.6"{% endif %}>
        <div class="column-one-sixth">
          <p class="heading-large" style="float: left;">1.</p>
        </div>
        <div class="column-five-sixths">
          <p>
            Send yourself this example message
          </p>
        </div>
      </div>
      <div class="grid-row bottom-gutter" {% if request.args['help'] != '2' %}style="opacity: 0.6"{% endif %}>
        <div class="column-one-sixth">
          <p class="heading-large">2.</p>
        </div>
        <div class="column-five-sixths">
          <p>
            The template pulls in the data you provide
          </p>
        </div>
      </div>
      <div class="grid-row bottom-gutter" {% if request.args['help'] != '3' %}style="opacity: 0.6"{% endif %}>
        <div class="column-one-sixth">
          <p class="heading-large">3.</p>
        </div>
        <div class="column-five-sixths">
          <p>
            Now try it with your own message
          </p>
          {% if request.args['help'] == '3' %}
            {% if first_email_template %}
              <a href='{{ url_for(".choose_template", service_id=current_service.id, template_type="email") }}'>
                Write an email
              </a>
            {% endif %}
            <a href='{{ url_for(".choose_template", service_id=current_service.id, template_type="sms") }}'>
              Write a text message
{'fraction_non_alphanumeric': 0.1791044776119403, 'fraction_numerical': 0.008036739380022962, 'mean_word_length': 2.1171735241502683, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '6857796', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1058, 'n_words': 244}