<commit_before>import React from 'react';

export default class RentalForm extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      description: ""
    };
  }


  render() {
    return (

      <div className="RentalFormContainer">
        <div className="ui container">

            <form action="/preview" method="post" className="ui big form">

                <div className="required field">
                  <label htmlFor="rental[title]">Title: </label>
                  <input type="text" name="rental[title]" />
                </div>

              <div className="fields">
                <div className="required eight wide field">
                  <label htmlFor="rental[address]">Address: </label>
                  <input type="text" name="rental[address]" />
                </div>

                <div className="three wide field">
                  <label htmlFor="rental[unit]">Unit: </label>
                  <input type="text" name="rental[unit]" />
                </div>
              </div>

                <div className="required field">
                  <label htmlFor="rental[price]">Price: </label>
                  <input type="number" name="rental[price]" min="0" />
                </div>

              <div className="required fields">
                <div className="field">
                  <label htmlFor="rental[beds]">Bedrooms: </label>
                  <input type="number" name="rental[beds]" min="0"/>
                </div>

                <div className="required field">
                  <label htmlFor="rental[baths]">Bathrooms: </label>
                  <input type="number" name="rental[baths]" min="0" />
                </div>
              </div>

                <div className="ui checkbox" id="checkbox">
                    <input type="Checkbox"  tabindex="0" name="rental[pets]" class="hidden"/>
                    <label htmlFor="rental[pets]">Pet Friendly</label>
                </div>

                <div className="field">
                  <label htmlFor="rental[parking]">Parking: </label>
                  <input type="text" name="rental[parking]" defaultValue="Street parking, garage, etc." />
                </div>

                <div className="field">
                  <label htmlFor="rental[description]">Rental Description: </label>
                  <textarea name="rental[description]" defaultValue="Describe your rental in detail."></textarea>
                </div>

                <div className="ui one column centered grid">
                  <div className="field form-submit-button">
                    <input type="submit" value="List My Rental" className="ui big button"/>
                  </div>
                </div>
            </form>

        </div>
      </div>
    )

  }<commit_msg>Edit placeholders for post rental preview form.<commit_after>import React from 'react';

export default class RentalForm extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      description: ""
    };
  }


  render() {
    return (

      <div className="RentalFormContainer">
        <div className="ui container">

            <form action="/preview" method="post" className="ui big form">

                <div className="required field">
                  <label htmlFor="rental[title]">Title: </label>
                  <input type="text" name="rental[title]" />
                </div>

              <div className="fields">
                <div className="required eight wide field">
                  <label htmlFor="rental[address]">Address: </label>
                  <input type="text" name="rental[address]" />
                </div>

                <div className="three wide field">
                  <label htmlFor="rental[unit]">Unit: </label>
                  <input type="text" name="rental[unit]" />
                </div>
              </div>

                <div className="required field">
                  <label htmlFor="rental[price]">Price: </label>
                  <input type="number" name="rental[price]" min="0" />
                </div>

              <div className="required fields">
                <div className="field">
                  <label htmlFor="rental[beds]">Bedrooms: </label>
                  <input type="number" name="rental[beds]" min="0"/>
                </div>

                <div className="required field">
                  <label htmlFor="rental[baths]">Bathrooms: </label>
                  <input type="number" name="rental[baths]" min="0" />
                </div>
              </div>

                <div className="ui checkbox" id="checkbox">
                    <input type="Checkbox"  tabindex="0" name="rental[pets]" class="hidden"/>
                    <label htmlFor="rental[pets]">Pet Friendly</label>
                </div>

                <div className="field">
                  <label htmlFor="rental[parking]">Parking: </label>
                  <input type="text" name="rental[parking]" placeholder="Street parking, garage, etc." />
                </div>

                <div className="field">
                  <label htmlFor="rental[description]">Rental Description: </label>
                  <textarea name="rental[description]" placeholder="Describe your rental in detail."></textarea>
                </div>

                <div className="ui one column centered grid">
                  <div className="field form-submit-button">
                    <input type="submit" value="List My Rental" className="ui big button"/>
                  </div>
                </div>
            </form>

        </div>
      </div>
    )

  }
{'fraction_non_alphanumeric': 0.14127764127764128, 'fraction_numerical': 0.001404001404001404, 'mean_word_length': 1.6190257352941178, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, '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': '3828769', 'n_tokens_mistral': 1554, 'n_tokens_neox': 1402, 'n_words': 328}