rendering different partial types per html or pdf layout