mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 21:06:58 +00:00
Added palceholder text for the brew title
This commit is contained in:
1 parent
c084cb2d8b
commit
801bde04c5
2 files changed
+5
-5
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user