small refactoring of inputs()
small refactoring of inputs()

paulodiovani/formtastic,thenthen8515/formtastic,ConferenceCloud/formtastic,ryanfox1985/formtastic,justinfrench/formtastic,EndingChaung/formtastic,paulodiovani/formtastic,ConferenceCloud/formtastic,EndingChaung/formtastic,Guestfolio/formtastic,crashlytics/formtastic,Davidzhu001/formtastic,nishaya/formtastic,mikz/formtastic,thenthen8515/formtastic,Guestfolio/formtastic,justinfrench/formtastic,Baltazore/formtastic,sideci-sample/sideci-sample-formtastic,justinfrench/formtastic,Davidzhu001/formtastic,nishaya/formtastic,mikz/formtastic,ryanfox1985/formtastic,ryanfox1985/formtastic