humanmade/Custom-Meta-Boxes — pull request #234 by mattheu (2014-08-12 20:47:57+00:00)
Title: Hide template metaboxes before template set

If a meta box is restricted to a certain page template using show_on, then it should not be shown when creating a new page.

Currently - if $post_id is not set - then all fields will be shown.