{{!
    Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: brad@reciprocitylabs.com
    Maintained By: brad@reciprocitylabs.com
}}

{{^if_equals parent_instance.status 'Verified'}}
<li class="tree-footer tree-item-add inner-tree-footer">
  <a href="javascript://" class="section-create" data-toggle="modal-ajax-form" data-modal-reset="reset" data-dirty="#regulations, #combo" data-route="regulations" data-modal-class="modal-wide" data-object-singular="CycleTaskEntry" data-object-plural="cycle_task_entries" data-object-params='{ "cycle_task_group_object_task": {{parent_instance.id}}, "cycle": {{parent_instance.cycle.id}}, "context": {{parent_instance.context.id}} }'>
    <strong>Add Entry</strong>
  </a>
</li>
{{/if_equals}}

{{!
    Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: brad@reciprocitylabs.com
    Maintained By: brad@reciprocitylabs.com
}}

{{^if_equals parent_instance.status 'Verified'}}
  {{#if parent_instance.reify.cycle.reify.is_current}}
  <li class="tree-footer tree-item-add inner-tree-footer">
    <a href="javascript://" class="section-create" data-toggle="modal-ajax-form" data-modal-reset="reset" data-dirty="#regulations, #combo" data-route="regulations" data-modal-class="modal-wide" data-object-singular="CycleTaskEntry" data-object-plural="cycle_task_entries" data-object-params='{ "cycle_task_group_object_task": {{parent_instance.id}}, "cycle": {{parent_instance.cycle.id}}, "context": {{parent_instance.context.id}} }'>
      <strong>Add Entry</strong>
    </a>
  </li>
  {{/if}}
{{/if_equals}}

Add Entry will only show up when cycle.is_current
Add Entry will only show up when cycle.is_current
