#IF(#attr.type EQ "textarea")
#ELSIF(#attr.type EQ "radio")
#ELSIF(#attr.type EQ "select")
#ELSIF(#attr.type EQ "checkbox")
#ELSIF(#attr.type EQ "date")
#ELSIF(#attr.type EQ "spinner")
#ELSIF(#attr.type EQ "button")
#ELSIF(#attr.type EQ "file")
#ELSE
#ENDIF