and unify layout of form view. issue8644 review262131002
and rename account_category into accounts_category issue5320 review23791002