mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-23 16:41:29 +00:00
Added palceholder text for the brew title
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user