Remove some duplication from the Send tab template code.