From 5f78d801a8485318bdf1b93263bcfc301326e9f1 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 31 May 2013 18:59:20 -0400 Subject: [PATCH] challenges: make @editable dynamic so we can add tasks when in edit mode --- views/app/challenges.html | 1 + views/app/tasks.html | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/views/app/challenges.html b/views/app/challenges.html index 00bdaa1d14..216ccfd3ea 100644 --- a/views/app/challenges.html +++ b/views/app/challenges.html @@ -108,6 +108,7 @@
<@ads>The Power of Habit: Why We Do What We Do in Life and Business @@ -38,7 +38,7 @@ placeHolder="New Daily" list={@dailys} main={{@main}} - editable={{@editable}} + editable={@editable} > <@ads>Getting Things Done: The Art of Stress-Free Productivity @@ -68,7 +68,7 @@ placeHolder="New Todo" list={@todos} main={{@main}} - editable={{@editable}} + editable={@editable} > <@ads>The Checklist Manifesto: How to Get Things Right @@ -108,7 +108,7 @@ placeHolder="New Reward" list={@rewards} main={{@main}} - editable={{@editable}} + editable={@editable} > <@extra> {{#if @main}} @@ -134,7 +134,7 @@ {{#if equal(@type,'todo')}}{{/}} - {{#if @editable}} + {#if @editable} @@ -145,9 +145,9 @@ {{/}}
- {{/}} + {/}
    - {#each @list as :task}{/} + {#each @list as :task}{/}
{{@extra}}