<commit_before>extends ../layout

block content
  .page-header
    h2
      i.fa.fa-phone(style='color: #f00')
      | Twilio API

  .btn-group.btn-group-justified
    a.btn.btn-primary(href='http://twilio.github.io/twilio-node/', target='_blank')
      i.fa.fa-check-square-o
      | Twilio Node
    a.btn.btn-primary(href='https://apigee.com/console/twilio', target='_blank')
      i.fa.fa-laptop
      | API Console
    a.btn.btn-primary(href='https://www.twilio.com/docs/api/rest', target='_blank')
      i.fa.fa-code-fork
      | REST API

  br

  .row
    .col-sm-6
      form(role='form', method='POST')
        input(type='hidden', name='_csrf', value=_csrf)
        .form-group
          label.control-label Number to text
          input.form-control(type='text', name='number', autofocus)
        .form-group
          label.control-label Message
          input.form-control(type='text', name='message')
        button.btn.btn-default(type='submit')
          i.fa.fa-location-arrow
          | Send<commit_msg>Added CSRF token to twillio form<commit_after>extends ../layout

block content
  .page-header
    h2
      i.fa.fa-phone(style='color: #f00')
      | Twilio API

  .btn-group.btn-group-justified
    a.btn.btn-primary(href='http://twilio.github.io/twilio-node/', target='_blank')
      i.fa.fa-check-square-o
      | Twilio Node
    a.btn.btn-primary(href='https://apigee.com/console/twilio', target='_blank')
      i.fa.fa-laptop
      | API Console
    a.btn.btn-primary(href='https://www.twilio.com/docs/api/rest', target='_blank')
      i.fa.fa-code-fork
      | REST API

  br

  .row
    .col-sm-6
      form(role='form', method='POST')
        h1= _csrf
        input(type='hidden', name='_csrf', value=_csrf)
        .form-group
          label.control-label Number to text
          input.form-control(type='text', name='number', autofocus)
        .form-group
          label.control-label Message
          input.form-control(type='text', name='message')
        button.btn.btn-default(type='submit')
          i.fa.fa-location-arrow
          | Send
{'fraction_non_alphanumeric': 0.15890542486797887, 'fraction_numerical': 0.0043206913106096975, 'mean_word_length': 2.2974683544303796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6113695', 'n_tokens_mistral': 730, 'n_tokens_neox': 715, 'n_words': 106}