1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-23 14:51:34 +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(){ render : function(){
return <Nav.item className='editTitle'> 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})}> <div className={cx('charCount', {'max' : this.props.title.length >= MAX_TITLE_LENGTH})}>
{this.props.title.length}/{MAX_TITLE_LENGTH} {this.props.title.length}/{MAX_TITLE_LENGTH}

View File

@@ -1,12 +1,12 @@
{ {
"name": "naturalCrit", "name": "naturalcrit",
"description": "A super rad project!", "description": "D&D Tools for the discerning DM",
"version": "1.4.1", "version": "2.0.0",
"scripts": { "scripts": {
"postinstall": "gulp prod", "postinstall": "gulp prod",
"start": "node server.js" "start": "node server.js"
}, },
"author": "", "author": "stolksdorf",
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"app-module-path": "^1.0.4", "app-module-path": "^1.0.4",