add form input[name] and label[for] attributes