Move field-specific logic to field partial
Merge pull request #1251 from mbertheau/field-partial-template

Move field-specific logic to field partial