Created
March 27, 2016 10:51
-
-
Save dai-shi/1a3eaa0ed3d152d8c03a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/imports/ui/App.jsx b/imports/ui/App.jsx | |
| index 546d198..31d7564 100644 | |
| --- a/imports/ui/App.jsx | |
| +++ b/imports/ui/App.jsx | |
| @@ -35,6 +35,16 @@ class App extends Component { | |
| <header> | |
| <h1>Todo List</h1> | |
| + <label className="hide-completed"> | |
| + <input | |
| + type="checkbox" | |
| + readOnly | |
| + checked={this.state.hideCompleted} | |
| + onClick={this.toggleHideCompleted.bind(this)} | |
| + /> | |
| + Hide Completed Tasks | |
| + </label> | |
| + | |
| <form className="new-task" onSubmit={this.handleSubmit.bind(this)} > | |
| <input | |
| type="text" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment