<commit_before>import React from 'react';
import { Field } from 'redux-form';
import { Grid, Row, Col } from 'react-flexbox-grid-aphrodite';
import { css } from 'aphrodite';
import styles from './styles';

const Form = ({ handleSubmit, reset, error }) => {
	const submit = (e) => {
		handleSubmit(e);
		reset();
	}
	return (
		<Grid>
			<Row center="xs,sm,md,lg" middle="xs,sm,md,lg">
				<Col xs={12}
					className={ css(styles.message) + ' quicksandMedium' }>
					<p>
						Please enter the username and password that was provided for
						you on your invitation.
					</p>
				</Col>
			</Row>
			<Row className={ css(styles.spacer) }></Row>
			<Row center="xs,sm,md,lg" >
				<Col xs={12} sm={8} md={8} lg={6} className={css(styles.formControlContainer)} >
					<h1 className={ css(styles.title) + ' princessSofia' }>
						{ error ? error : 'Welcome, Guest'}
					</h1>
					<form onSubmit={ submit }>
						<Row start="xs,sm,md,lg"
							className={ 'quicksandRegular' }>
							<Col xs={12}>
								<label
									className={css(styles.formControlLabel)}
									htmlFor="username">
									Username
								</label>
								<Field className={css(styles.formControl)}
									name="username"
									component="input"
									type="text"
									placeholder="see your invitation..."
								/>
							</Col>
						</Row>
						<Row start="xs,sm,md,lg"
							className={'quicksandRegular' }>
							<Col xs={12}>
								<label className={css(styles.formControlLabel)}
									htmlFor="password">
									Password
								</label>
								<Field className={css(styles.formControl)}
									name="password"
									component="input"
									type="password"
									placeholder="see your invitation..."
								/>
							</Col>
						</Row>
						<Row center="xs,sm,md,lg">

							<Col>
								<button className={css(styles.submitBtn)}
									type="submit">
									LOGIN
								</button>
							</Col>
						</Row>
					</form>
				</Col>
			</Row>
		</Grid>
	);
};

export default Form;<commit_msg>disabled autocapitalize on login form<commit_after>import React from 'react';
import { Field } from 'redux-form';
import { Grid, Row, Col } from 'react-flexbox-grid-aphrodite';
import { css } from 'aphrodite';
import styles from './styles';

const Form = ({ handleSubmit, reset, error }) => {
	const submit = (e) => {
		handleSubmit(e);
		reset();
	}
	return (
		<Grid>
			<Row center="xs,sm,md,lg" middle="xs,sm,md,lg">
				<Col xs={12}
					className={ css(styles.message) + ' quicksandMedium' }>
					<p>
						Please enter the username and password that was provided for
						you on your invitation.
					</p>
				</Col>
			</Row>
			<Row className={ css(styles.spacer) }></Row>
			<Row center="xs,sm,md,lg" >
				<Col xs={12} sm={8} md={8} lg={6} className={css(styles.formControlContainer)} >
					<h1 className={ css(styles.title) + ' princessSofia' }>
						{ error ? error : 'Welcome, Guest'}
					</h1>
					<form onSubmit={ submit }>
						<Row start="xs,sm,md,lg"
							className={ 'quicksandRegular' }>
							<Col xs={12}>
								<label
									className={css(styles.formControlLabel)}
									htmlFor="username">
									Username
								</label>
								<Field className={css(styles.formControl)}
									name="username"
									component="input"
									type="text"
									placeholder="see your invitation..."
									autocapitalize="none"
								/>
							</Col>
						</Row>
						<Row start="xs,sm,md,lg"
							className={'quicksandRegular' }>
							<Col xs={12}>
								<label className={css(styles.formControlLabel)}
									htmlFor="password">
									Password
								</label>
								<Field className={css(styles.formControl)}
									name="password"
									component="input"
									type="password"
									placeholder="see your invitation..."
									autocapitalize="none"
								/>
							</Col>
						</Row>
						<Row center="xs,sm,md,lg">

							<Col>
								<button className={css(styles.submitBtn)}
									type="submit">
									LOGIN
								</button>
							</Col>
						</Row>
					</form>
				</Col>
			</Row>
		</Grid>
	);
};

export default Form;
{'fraction_non_alphanumeric': 0.16264478764478765, 'fraction_numerical': 0.006274131274131274, 'mean_word_length': 2.2612116443745083, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 83, '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': '4038796', 'n_tokens_mistral': 2021, 'n_tokens_neox': 1304, 'n_words': 289}