added underscore template logic on input for completed state, began adding toggle function