Commit 870ee999 authored by Matija Obreza's avatar Matija Obreza
Browse files

Search form: bootstrap inline form classnames

parent edd932aa
......@@ -20,12 +20,12 @@ export function AccessionFilters(props: IAccessionFilters) {
};
return (
<form onSubmit={ handleSubmit }>
<label>
Full text search
<input name="full-text-search" type="text" value={ text } onChange={ onInputChange }/>
</label>
<button type="submit">Submit</button>
<form className="form-inline mb-4" onSubmit={ handleSubmit }>
<div className="form-group mx-sm-2">
<label className="mr-2">Full text search</label>
<input name="full-text-search" type="text" className="form-control" value={ text } onChange={ onInputChange }/>
</div>
<button className="btn btn-primary" type="submit">Submit</button>
</form>
);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment