Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #145 from zooniverse/require-all-fields
Browse files Browse the repository at this point in the history
Fix #134
  • Loading branch information
shaunanoordin committed Mar 30, 2016
2 parents 2a64fde + bbc474e commit 406241e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/presentational/TeacherForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class TeacherForm extends Component {
placeholder="Insert a country"
autofocus="true"
value={this.state.country}
required
onChange={this.handleChange}/>
</div>
<div className="form-group">
Expand All @@ -104,6 +105,7 @@ class TeacherForm extends Component {
name="setting"
placeholder="E.g. Classroom, home"
autofocus="true"
required
value={this.state.setting}
onChange={this.handleChange}/>
</div>
Expand All @@ -114,6 +116,7 @@ class TeacherForm extends Component {
name="age"
placeholder="E.g. Junior high, 2-yr College"
autofocus="true"
required
value={this.state.age}
onChange={this.handleChange}/>
</div>
Expand All @@ -124,6 +127,7 @@ class TeacherForm extends Component {
name="course"
placeholder="E.g. Biology, Ecology"
autofocus="true"
required
value={this.state.course}
onChange={this.handleChange}/>
</div>
Expand All @@ -134,6 +138,7 @@ class TeacherForm extends Component {
name="foundon"
placeholder="E.g. Zooniverse, Social Media"
autofocus="true"
required
value={this.state.foundon}
onChange={this.handleChange}/>
</div>
Expand All @@ -144,6 +149,7 @@ class TeacherForm extends Component {
name="resources"
placeholder="Yes or no"
autofocus="true"
required
value={this.state.resources}
onChange={this.handleChange}/>
</div>
Expand All @@ -154,6 +160,7 @@ class TeacherForm extends Component {
name="feedback"
placeholder="Yes or no"
autofocus="true"
required
value={this.state.feedback}
onChange={this.handleChange}/>
</div>
Expand Down

0 comments on commit 406241e

Please sign in to comment.