adds styling to edit, new and form pages