<commit_before><!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
  <head>
    <link rel="stylesheet" href="/assets/third-party/bootstrap/dist/css/bootstrap.css" />
  </head>
  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <a class="navbar-brand" href="/">Jmailer</a>
    </nav>
    <div class="jumbotron">
      <div class="container">
        <h1>Form</h1>
        <p>Send email from everywhere</p>
        <p><a class="btn btn-primary btn-lg" href="contact" role="button">Register Here</a></p>
      </div>
    </div>
    <div class="container">
      <div class="row">
        <p>You can send email using a form</p>
        <br/>
        <h4>Form</h4>
        <p>A form is a component of a Web page that has form controls, such as text fields, textarea and buttons</p>
        <br/>
        <form th:action="@{/emailer/form}" method="post">
          <div class="panel-primary">
            <div class="panel-heading">
              <h4 class="panel-title">Send you a message</h4>
            </div>
            <div class="panel-body">
              <div class="form-group">
                <label>Your Name</label>
                <input type="text" class="form-control" name="name" placeholder="Enter your name"/>
              </div>
              <div class="form-group">
                <label>Your Email</label>
                <input type="email" class="form-control" name="email" placeholder="Enter your email"/>
              </div>
              <div class="form-group">
                <label>Message:</label>
                <textarea class="form-control" name="message" rows="3" placeholder="Your message"/>
              </div>
            </div>
            <div class="panel-footer">
              <button type="submit" class="btn btn-primary">Send</button>
            </div>
          </div>
        </form>
      </div>
    </div>
    <br/><br/>
    <div class="container">
      <div class="row">
        <h4>Code example</h4>
        <code>
          <p style="color:gray;">&#60;<font color="purple">form</font><font color="green"> method="</font><font color="blue">POST</font>"<font color="green"> action="</font><font color="blue">http://jmailer.josdem.io/form</font>"&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">label</font>&#62;<font color="black">Your Name</font>&#60;/<font color="purple">label</font>&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">input</font><font color="green"> type="</font><font color="blue">text</font>"<font color="green"> name="</font><font color="blue">name</font>"<font color="green"> placeholder="</font><font color="blue">enter your name</font>"/&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">label</font>&#62;<font color="black">Your Email</font>&#60;/<font color="purple">label</font>&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">input</font><font color="green"> type="</font><font color="blue">email</font>"<font color="green"> name="</font><font color="blue">emailContact</font>"<font color="green"> placeholder="</font><font color="blue">enter your email</font>"/&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">label</font>&#62;<font color="black">Message</font>&#60;/<font color="purple">label</font>&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">textarea</font><font color="green"> name=</font>"<font color="blue">message</font>"<font color="green"> rows=</font>"<font color="blue">3</font>"<font color="green"> placeholder="</font><font color="blue">Your message</font>"/&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">button</font><font color="green"> type=</font>"<font color="blue">submit</font>"&#62;<font color="black">Send</font>&#60;/<font color="purple">button</font>&#62;</p>
          <p style="color:gray;">&#60;<font color="purple">/form</font>&#62;</p>
        </code>
      </div>
    </div>
    <br/><br/><br/>
    <footer>
      <nav class="navbar navbar-inverse navbar-fixed-bottom">
        <a class="navbar-brand" href="http://josdem.io">© josdem.io 2016</a>
      </nav>
    </footer>
  </body>
</html>
<commit_msg>#3 Fixing form values<commit_after><!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
  <head>
    <link rel="stylesheet" href="/assets/third-party/bootstrap/dist/css/bootstrap.css" />
  </head>
  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <a class="navbar-brand" href="/">Jmailer</a>
    </nav>
    <div class="jumbotron">
      <div class="container">
        <h1>Form</h1>
        <p>Send email from everywhere</p>
        <p><a class="btn btn-primary btn-lg" href="contact" role="button">Register Here</a></p>
      </div>
    </div>
    <div class="container">
      <div class="row">
        <p>You can send email using a form</p>
        <br/>
        <h4>Form</h4>
        <p>A form is a component of a Web page that has form controls, such as text fields, textarea and buttons</p>
        <br/>
        <form th:action="@{/emailer/form}" method="post">
          <div class="panel-primary">
            <div class="panel-heading">
              <h4 class="panel-title">Send you a message</h4>
            </div>
            <div class="panel-body">
              <div class="form-group">
                <label>Your Name</label>
                <input type="text" class="form-control" name="name" placeholder="Enter your name"/>
              </div>
              <div class="form-group">
                <label>Your Email</label>
                <input type="email" class="form-control" name="email" placeholder="Enter your email"/>
              </div>
              <div class="form-group">
                <label>Message:</label>
                <textarea class="form-control" name="message" rows="3" placeholder="Your message"/>
              </div>
            </div>
            <input type="hidden" value="jmailer" name="source" />
            <input type="hidden" value="message.ftl" name="template" />
            <input type="hidden" value="http://josdem.io/flyer/jmailer" name="redirect" />
            <div class="panel-footer">
              <button type="submit" class="btn btn-primary">Send</button>
            </div>
          </div>
        </form>
      </div>
    </div>
    <br/><br/>
    <div class="container">
      <div class="row">
        <h4>Code example</h4>
        <code>
          <p style="color:gray;">&#60;<font color="purple">form</font><font color="green"> method="</font><font color="blue">POST</font>"<font color="green"> action="</font><font color="blue">http://jmailer.josdem.io/form</font>"&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">label</font>&#62;<font color="black">Your Name</font>&#60;/<font color="purple">label</font>&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">input</font><font color="green"> type="</font><font color="blue">text</font>"<font color="green"> name="</font><font color="blue">name</font>"<font color="green"> placeholder="</font><font color="blue">enter your name</font>"/&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">label</font>&#62;<font color="black">Your Email</font>&#60;/<font color="purple">label</font>&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">input</font><font color="green"> type="</font><font color="blue">email</font>"<font color="green"> name="</font><font color="blue">emailContact</font>"<font color="green"> placeholder="</font><font color="blue">enter your email</font>"/&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">label</font>&#62;<font color="black">Message</font>&#60;/<font color="purple">label</font>&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">textarea</font><font color="green"> name=</font>"<font color="blue">message</font>"<font color="green"> rows=</font>"<font color="blue">3</font>"<font color="green"> placeholder="</font><font color="blue">Your message</font>"/&#62;</p>
          <p style="color:gray;">&#160;&#160;&#60;<font color="purple">button</font><font color="green"> type=</font>"<font color="blue">submit</font>"&#62;<font color="black">Send</font>&#60;/<font color="purple">button</font>&#62;</p>
          <p style="color:gray;">&#60;<font color="purple">/form</font>&#62;</p>
        </code>
      </div>
    </div>
    <br/><br/><br/>
    <footer>
      <nav class="navbar navbar-inverse navbar-fixed-bottom">
        <a class="navbar-brand" href="http://josdem.io">© josdem.io 2016</a>
      </nav>
    </footer>
  </body>
</html>

{'fraction_non_alphanumeric': 0.22903334456045807, 'fraction_numerical': 0.024362860671382058, 'mean_word_length': 3.2662835249042144, 'pattern_counts': {'":': 0, '<': 374, '<?xml version=': 0, '>': 374, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '3943101', 'n_tokens_mistral': 3032, 'n_tokens_neox': 2805, 'n_words': 487}