# HG changeset patch # User Matthew Wild # Date 1238858612 -3600 # Node ID ef648f49e7341abb8ffa3bb497d2f4d4f4ad1547 # Parent 4b9207949735c4e2f84956c0fdd57ea7f832c692 util.dataforms: Add support for fields diff -r 4b9207949735 -r ef648f49e734 util/dataforms.lua --- a/util/dataforms.lua Sat Apr 04 15:32:32 2009 +0100 +++ b/util/dataforms.lua Sat Apr 04 16:23:32 2009 +0100 @@ -57,6 +57,10 @@ end end + if field.required then + form:tag("required"):up(); + end + -- Jump back up to list of fields form:up(); end