fix input tag
get rid of globals.translate_attrib and replace with translate_tag_attrib