fieldset.option-group(ng-if='task.type=="todo" && !task.challenge.id')
  legend.option-title=env.t('dueDate')
  input.option-content.datepicker(type='text', ng-model='task.date',
    datepicker-popup='{{::user.preferences.dateFormat}}', is-open='datepickerOpened',
    ng-click='datepickerOpened = true')

