<<% = Fields [ i ] .TagName or "input" %> id=" <% = ModalID .. "_" .. Fields [ i ] . Name %> " name=" <% = ModalID .. "_" .. Fields [ i ] . Name %> " type=" <% = Fields [ i ] . Type or "text" %> " class=" <% = Fields [ i ] .Classes and table.concat ( Fields [ i ] .Classes, " " ) or "" %> <% = invalid [ ModalID .. "_" .. Fields [ i ] . Name ] and "invalid" or "" %> " <%- Fields [ i ] .ExtraAttrs or "" %> value=" <% = not Fields [ i ] .TagName and params [ ModalID .. "_" .. Fields [ i ] . Name ] or "" %> "> <%- Fields [ i ] .TagName and ( ( params [ ModalID .. "_" .. Fields [ i ] . Name ] or "" ) .. "</" .. Fields [ i ] .TagName .. "> ") or "" %>