added context processor and fixed note add form