var PlayerControls = React.createClass({

  render: function() {
    return (
      <div>
        <div>Game Id: {this.props.game_id}</div>
        <form
          id={"player_controls_" + this.props.player_id}
          method="post"
          data-remote="true"
          action={"/games/" + this.props.game_id + "/play_hand"}
          accept-charset="UTF-8">

          <input type="hidden" value="patch" name="_method"></input>
          <input id={"play_hand_button_" + this.props.player_id} type="submit" value="Play Hand" name="commit"></input>
        </form>
      </div>
    );
  }
});
