Refactored the logic for displaying input types.
Enabled Twitter Bootstrap responsive feature.