%input.input.input--text{ id: properties[:id], name: properties[:name], value: properties[:value] || "", placeholder: properties[:placeholder], data: properties[:data], maxlength: properties[:maxlength] }

- type = properties[:type] || 'text'
%input.input{ class: "input--#{type}", id: properties[:id], name: properties[:name], value: properties[:value] || "", type: type, placeholder: properties[:placeholder], data: properties[:data], maxlength: properties[:maxlength] }

Add ability to specify another input type (such as password).
Add ability to specify another input type (such as password).
