fix(views): fix typo in $attrs var name