Title: teste
Hello,
I want to use the "for" attribute in label tag, like:

[...] <label for=""> Login:  </label> <input type="text" name="user"  id="user" /> [...]

so I did this:

[...]  label { for="", strings.login }, input { type = "text", name = "user", id="user", value = params.user or ""} [...]

Bur "for" is a valid Lua global. I read at http://luanova.org/orbit1-2/ that in this case the solution is to say H('table'), but this didn't work for an attribute, only for tags.

Does anyone has an ideia of what to do?

--

Itamar Eduardo Gonçalves de Oliveira
Informática
+55 (66) 2101 0614
Novanis - Tecnologia em Produção Animal

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to