small typo
refactor code; create independ view trait; remove html code from controller; add htmlinj to controller (render value)