add support for `value` attributes for select tags
improve nested template import helper