Added attributes to form elements.