Link labels to inputs (fixes #8)