provide locals record to partial

Fixes what I believe is a bug where the 'form' partial does not have a reference to the 'record' object when rendered as part of the 'new' view.  This replicates the code used when rendering the 'form' partial as part of the 'edit' view.