<commit_before><!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<link rel="import" href="../../bower_components/polymer/polymer.html">

<dom-module id="t5-contact">
  <style>
    :host {
      display: block;
    }
  </style>
  <template>


    <google-map latitude="41.38" longitude="-357.81"></google-map>
    <br>
    <br>



    <core-header-panel mode="seamed" flex>
      <core-toolbar id="mainheader">
        <core-icon icon="communication:email"></core-icon>
        <span flex>By e-mail</span>
      </core-toolbar>

      <section>
        <form is="component-form" method="GET" action="/__/forms/contact">

          <paper-input-decorator labelVisible floatinglabel error="no name" label="your name">
            <input is="core-input" label="Your Name" type="text" name="name" required>
          </paper-input-decorator>

          <paper-input-decorator labelVisible floatinglabel error="no email" label="your email">
            <input is="core-input" type="email" name="email" required>
          </paper-input-decorator>

          <paper-input-decorator labelVisible floatinglabel error="no message" label="message">
            <paper-autogrow-textarea id="a1">
              <textarea id="t1" name="message"></textarea>
            </paper-autogrow-textarea>
          </paper-input-decorator>
          <br/>
          <paper-button type="submit" label="Custom Submit">submit</paper-button>
        </form>
      </section>
    </core-header-panel>


  </template>
  <script>
    (function() {
      Polymer({
        is: 't5-contact',

        properties: {
          foo: {
            type: String,
            value: 'bar',
            notify: true
          }
        }
      });
    })();
  </script>
</dom-module><commit_msg>Polymer 1.0 Contact-Us (Unfinished).<commit_after><!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/google-map/google-map.html">


<dom-module id="t5-contact">
  <style>
    :host {
      display:block;
      background: #FFF;

    }
    google-map {
    height: 400px;

  }
  </style>
  <template>
    <div><google-map latitude="41.38" longitude="-357.81"></google-map></div>

    <br>
    <br>



    <core-header-panel mode="seamed" flex>
      <core-toolbar id="mainheader">
        <core-icon icon="communication:email"></core-icon>
        <span flex>By e-mail</span>
      </core-toolbar>

      <section>
        <form is="component-form" id="form" method="GET" action="/__/forms/contact">

          <paper-input labelVisible floatinglabel error="no name" label="your name">
            <input is="core-input" label="Your Name" type="text" name="name" required>
          </paper-input>

          <paper-input labelVisible floatinglabel error="no email" label="your email">
            <input is="core-input" type="email" name="email" required>
          </paper-input>

          <paper-input labelVisible floatinglabel error="no message" label="message">
            <paper-autogrow-textarea id="a1">
              <textarea id="t1" name="message"></textarea>
            </paper-autogrow-textarea>
          </paper-input>
          <br/>
          <paper-button type="submit" label="Custom Submit" raised>Submit</paper-button>
        </form>
      </section>
    </core-header-panel>


  </template>
  <script>
    (function() {
      Polymer({
        is: 't5-contact',

        properties: {
          foo: {
            type: String,
            value: 'bar',
            notify: true
          }
        }
      });
    })();
  </script>
</dom-module>
{'fraction_non_alphanumeric': 0.14563743713098623, 'fraction_numerical': 0.008528318390553248, 'mean_word_length': 2.5049808429118774, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 88, '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': '2219334', 'n_tokens_mistral': 1397, 'n_tokens_neox': 1311, 'n_words': 341}