]> gitweb.factorcode.org Git - factor.git/commitdiff
Working on XHTML 1.1 validation
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Tue, 30 Sep 2008 04:13:46 +0000 (23:13 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Tue, 30 Sep 2008 04:13:46 +0000 (23:13 -0500)
basis/html/components/components.factor
extra/webapps/pastebin/new-paste.xml

index dafc9dd06bec88118344ddceafa12fa6ba81aefe..6f35ba5d975bd21af143347af6c39345422b3dbc 100644 (file)
@@ -83,7 +83,7 @@ TUPLE: choice size multiple choices ;
     choice new ;
 
 : render-option ( text selected? -- )
-    <option [ "true" =selected ] when option>
+    <option [ "selected" =selected ] when option>
         present escape-string write
     </option> ;
 
index 6abae4895ba502f74415a6f7a9178c46ff41502b..96339b6cf86a0b77438e74e2176522aafe176a2e 100644 (file)
@@ -18,6 +18,6 @@
                        </tr>
                </table>
 
-               <input type="SUBMIT" value="Submit" />
+               <p> <button>Submit</button> </p>
        </t:form>
 </t:chloe>