A helper to render bootstrap components in pyramid