Oh my bad wasn't too carefull with deletion
auto EnumToSelect(Enum)(string Name = __traits(identifier,Enum)) if (is(Enum==enum)) { foreach (i,Item;[__traits(allMembers,Enum)]) {reslt ~= "\toption(value='"~__traits(getMember,Enum,Item)~"') "~Item~"\n";
} debug import std.stdio; debug writeln(form_string); return reslt; }