clear csrf error and indent html
minor change