refactored pins/_form