<commit_before>var IssueForm = React.createClass({

  handleSubmit: function(event){
    event.preventDefault()

    var titleNode = this.refs.title.getDOMNode();
    var descriptionNode = this.refs.description.getDOMNode();
    var zipNode = this.refs.zip.getDOMNode();

    var title = titleNode.value.trim()
    var description = descriptionNode.value.trim()
    var zip = zipNode.value.trim()

    var issue = {
      title: title,
      description: description,
      zip: zip
    }

    // submit
    this.props.onIssueSubmit(issue)
  },

  render: function(){
    return (
      <div className="issue_form_wrapper">
      < IssueMap />
        <form ref="form" onSubmit={this.handleSubmit} >
          Title
          <input ref="title" name="issue[title]" type="text" />
          <br/>
          Description
          <input ref="description" name="issue[description]" type="text" />
          <br/>
          Zip:
          <input ref="zip" name="issue[zip]" type="text" />
          <br/>
          Image:
          <input ref="image" name="issue[image]" type="file" />
          <input type="submit" />
        </form>
      </div>
    )
  }
})<commit_msg>hidden lat,lon forms added, map implemented, need to setup data passage<commit_after>var IssueForm = React.createClass({

  handleSubmit: function(event){
    event.preventDefault()

    var titleNode = this.refs.title.getDOMNode();
    var descriptionNode = this.refs.description.getDOMNode();
    var zipNode = this.refs.zip.getDOMNode();

    var title = titleNode.value.trim()
    var description = descriptionNode.value.trim()
    var zip = zipNode.value.trim()

    var issue = {
      title: title,
      description: description,
      zip: zip
    }

    // submit
    this.props.onIssueSubmit(issue)
  },

  render: function(){
    return (
      <div className="issue_form_wrapper">
      < IssueMap />

        <form ref="form" onSubmit={this.handleSubmit} >
          Title
          <input ref="title" name="issue[title]" type="text" />
          <br/>
          Description
          <input ref="description" name="issue[description]" type="text" />
          <br/>
          Zip:
          <input ref="zip" name="issue[zip]" type="text" />
          <br/>
          Image:
          <input ref="image" name="issue[image]" type="file" />

          <input ref="lat" name="issue[lat]" type="hidden" />
          <input ref="long" name="issue[long]" type="hidden" />

          <input type="submit" />
        </form>
      </div>
    )
  }
})
{'fraction_non_alphanumeric': 0.14772277227722772, 'fraction_numerical': 0.0, 'mean_word_length': 2.2635658914728682, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '6203490', 'n_tokens_mistral': 764, 'n_tokens_neox': 730, 'n_words': 158}