Fixes 364, changed formInput to generic $method = 'form' . ucfirst($element->getAttribute('type')) to enable rendering of select and other form element types