<commit_before>{% extends "website/authenticated_base.html" %}

{% block container %}
  <div class="jumbotron">
    <h3>Send "{{ doc }}"</h3>
    <form role="form" method="post"
          action="{% url 'doc_send' doc.folder.id doc.id %}">
      {% csrf_token %}
      <div class="form-group">
        <label for="id_to">To:</label>
        <select id="id_to"
                name="to"
                class="form-control">
          <option>Myself</option>
          {# TODO: "A member". Show recipient field + type-ahead suggest #}
          {# TODO: "A group". Add mail groups to mailer #}
          <option>Everyone</option>
        </select>
      </div>
      <div class="form-group">
        <label for="id_subject">Subject:</label>
        <input id="id_subject"
               name="subject"
               class="form-control"
               value="[{{ club_name }}] {{ doc.description }}" />
      </div>
      <div class="form-group">
        <label for="id_text">Message*:</label>
        <textarea id="id_text"
                  name="text"
                  class="form-control"
                  rows="7">
Dear {% templatetag openvariable %} full_name {% templatetag closevariable %},

Please find {{ doc }} attached to this e-mail.

Kind regards,

{{ club_name }}</textarea>
        <small>
          *Supports styling with <a href="https://daringfireball.net/projects/markdown/" target="_blank">Markdown</a>.
        </small>
      </div>
      <button type="submit" class="btn btn-default">Send</button>
    </form><commit_msg>Drop template tags<commit_after>{% extends "website/authenticated_base.html" %}

{% block container %}
  <div class="jumbotron">
    <h3>Send "{{ doc }}"</h3>
    <form role="form" method="post"
          action="{% url 'doc_send' doc.folder.id doc.id %}">
      {% csrf_token %}
      <div class="form-group">
        <label for="id_to">To:</label>
        <select id="id_to"
                name="to"
                class="form-control">
          <option>Myself</option>
          {# TODO: "A member". Show recipient field + type-ahead suggest #}
          {# TODO: "A group". Add mail groups to mailer #}
          <option>Everyone</option>
        </select>
      </div>
      <div class="form-group">
        <label for="id_subject">Subject:</label>
        <input id="id_subject"
               name="subject"
               class="form-control"
               value="[{{ club_name }}] {{ doc.description }}" />
      </div>
      <div class="form-group">
        <label for="id_text">Message*:</label>
        <textarea id="id_text"
                  name="text"
                  class="form-control"
                  rows="7">
Dear Member,

Please find {{ doc }} attached to this e-mail.

Kind regards,

{{ club_name }}</textarea>
        <small>
          *Supports styling with <a href="https://daringfireball.net/projects/markdown/" target="_blank">Markdown</a>.
        </small>
      </div>
      <button type="submit" class="btn btn-default">Send</button>
    </form>
{'fraction_non_alphanumeric': 0.16760145166611679, 'fraction_numerical': 0.001979544704717915, 'mean_word_length': 2.1033776867963154, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 2, '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': '4433480', 'n_tokens_mistral': 949, 'n_tokens_neox': 905, 'n_words': 195}