1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2026-01-03 17:09:16 +00:00

Added palceholder text for the brew title

This commit is contained in:
Scott Tolksdorf
2016-05-14 14:59:21 -04:00
parent c084cb2d8b
commit 801bde04c5
2 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ var EditTitle = React.createClass({
},
render : function(){
return <Nav.item className='editTitle'>
<input type='text' value={this.props.title} onChange={this.handleChange} />
<input placeholder='Brew Title' type='text' value={this.props.title} onChange={this.handleChange} />
<div className={cx('charCount', {'max' : this.props.title.length >= MAX_TITLE_LENGTH})}>
{this.props.title.length}/{MAX_TITLE_LENGTH}