Use jade mixins to avoid duplication between upload widget templates