[task] fixed template resolving and added user validation tests

+ added required field css style