Fix class/className in search-box

This commit is contained in:
Tom Russell 2019-02-24 13:34:57 +00:00
parent de5ba78d3f
commit 228530cb88

View File

@ -89,7 +89,7 @@ class SearchBox extends Component {
return ( return (
<div className={`search-box ${this.props.is_building? "building" : ""}`}> <div className={`search-box ${this.props.is_building? "building" : ""}`}>
<form action="/search" method="GET" onSubmit={this.search} <form action="/search" method="GET" onSubmit={this.search}
class="form-inline"> className="form-inline">
<input <input
className="form-control" className="form-control"
type="search" type="search"
@ -100,7 +100,7 @@ class SearchBox extends Component {
aria-label="Search for a postcode" aria-label="Search for a postcode"
onChange={this.handleChange} onChange={this.handleChange}
/> />
<button class="btn btn-outline-dark" type="submit">Search</button> <button className="btn btn-outline-dark" type="submit">Search</button>
</form> </form>
{ resultsList } { resultsList }
</div> </div>