@@ -17,9 +17,11 @@
{{> loginButtons}}
<!-- add a form below the h1 -->
- <form class="new-task">
- <input type="text" name="text" placeholder="Type to add new tasks" />
- </form>
+ {{#if currentUser}}
+ <form class="new-task">
+ <input type="text" name="text" placeholder="Type to add new tasks" />
+ </form>
+ {{/if}}
</header>
<ul>