<commit_before><style>
.demo-card-square.mdl-card {
  width: 320px;
  height: 320px;
}
.demo-card-square > .mdl-card__title {
  color: #fff;
  background:
    url('../assets/images/obama.png') bottom right 15% no-repeat #46B6AC;
}
</style>

<div class="mdl-grid">
  <div class="mdl-cell mdl-cell--4-col">

        <div class="demo-card-square mdl-card mdl-shadow--2dp">
      <div class="mdl-card__title mdl-card--expand">
        <h2 class="mdl-card__title-text">Add New Player</h2>
      </div>
      <div class="mdl-card__supporting-text">


        <%= form_for @player, html: {class: "form-horizontal"} do |f| %>
          <%= f.error_messages %>

          
          <div class="control-group">
            <%= f.label :name, class: "control-label" %>
            <div class="controls">
              <%= f.text_field :name, class: "input-xlarge" %>
            </div>
          </div>

          <div class="control-group">
            <%= f.label :email, class: "control-label" %>
            <div class="controls">
              <%= f.text_field :email, class: "input-xlarge" %>
            </div>
          </div>

          <div class="form-actions">
            <%= f.submit class: "btn btn-primary" %>
            <%= link_to "Cancel", root_path, class: "btn btn-warning" %>
          </div>

          <small class="description attribution">
            Avatar provided by <a href="http://gravatar.com/">Gravatar</a>, a global avatar service.
          </small>

        <% end %>


      </div>
      <div class="mdl-card__actions mdl-card--border">
        <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://wm-pingpong.herokuapp.com/games/4">
          View Rankings
        </a>
      </div>
        </div>
  </div>
</div><commit_msg>add button for submission of form<commit_after><style>
.demo-card-square.mdl-card {
  width: 320px;
  height: 320px;
}
.demo-card-square > .mdl-card__title {
  color: #fff;
  background:
    url('../assets/images/obama.png') bottom right 15% no-repeat #46B6AC;
}
</style>

<div class="mdl-grid">
  <div class="mdl-cell mdl-cell--4-col">

        <div class="demo-card-square mdl-card mdl-shadow--2dp">
      <div class="mdl-card__title mdl-card--expand">
        <h2 class="mdl-card__title-text">Add New Player</h2>
      </div>
      <div class="mdl-card__supporting-text">


        <%= form_for @player, html: {class: "form-horizontal"} do |f| %>
          <%= f.error_messages %>

          
          <div class="control-group">
            <%= f.label :name, class: "control-label" %>
            <div class="controls">
              <%= f.text_field :name, class: "input-xlarge" %>
            </div>
          </div>

          <div class="control-group">
            <%= f.label :email, class: "control-label" %>
            <div class="controls">
              <%= f.text_field :email, class: "input-xlarge" %>
            </div>
          </div>

          <small class="description attribution">
            Avatars loaded automatically by <a href="http://gravatar.com/">Gravatar</a>, a global avatar service. Work emails are used for creation, if work email is found to have an image it will load automatically.
          </small>


      </div>
      <div class="mdl-card__actions mdl-card--border">

          <div class="form-actions">
            <%= f.submit class: "mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" %>
          </div>

        <% end %>

      </div>
        </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.1703514739229025, 'fraction_numerical': 0.008786848072562359, 'mean_word_length': 2.0343938091143596, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 84, 'https://': 1, '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': '3288091', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1147, 'n_words': 245}