Applies bootstrap classes to various fields.