|
@@ -29,9 +29,14 @@ Task = React.createClass({
|
|
|
×
|
|
|
</button>
|
|
|
|
|
|
- <input type="checkbox" readOnly="{true}" checked={this.props.task.checked} onClick={this.toggleChecked} />
|
|
|
+ <input
|
|
|
+ type="checkbox"
|
|
|
+ readOnly="{true}"
|
|
|
+ checked={this.props.task.checked}
|
|
|
+ onClick={this.toggleChecked}
|
|
|
+ />
|
|
|
|
|
|
- <span className="text">{this.props.task.text}</span>
|
|
|
+ <strong>{this.props.task.username}</strong>: <span className="text">{this.props.task.text}</span>
|
|
|
</li>
|
|
|
);
|
|
|
return result;
|