You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by br...@apache.org on 2003/11/01 12:41:13 UTC

cvs commit: cocoon-2.1/src/blocks/woody/samples/forms registration_template.xml

bruno       2003/11/01 03:41:13

  Modified:    src/blocks/woody/samples/forms registration_template.xml
  Log:
  Made password field not show clear text.
  
  Revision  Changes    Path
  1.5       +8 -3      cocoon-2.1/src/blocks/woody/samples/forms/registration_template.xml
  
  Index: registration_template.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/registration_template.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- registration_template.xml	25 Jul 2003 09:02:14 -0000	1.4
  +++ registration_template.xml	1 Nov 2003 11:41:13 -0000	1.5
  @@ -1,5 +1,6 @@
   <?xml version="1.0"?>
  -<page xmlns:wt="http://apache.org/cocoon/woody/template/1.0">
  +<page xmlns:wt="http://apache.org/cocoon/woody/template/1.0"
  +  xmlns:wi="http://apache.org/cocoon/woody/instance/1.0">
     <title>Registration</title>
     <content>
       <wt:form-template action="registration" method="POST">
  @@ -13,10 +14,14 @@
         <wt:widget id="age"/>
         <br/>
         <wt:widget-label id="password"/>
  -      <wt:widget id="password"/>
  +      <wt:widget id="password">
  +        <wi:styling type="password"/>
  +      </wt:widget>
         <br/>
         <wt:widget-label id="confirmPassword"/>
  -      <wt:widget id="confirmPassword"/>
  +      <wt:widget id="confirmPassword">
  +        <wi:styling type="password"/>
  +      </wt:widget>
         <br/>
         <wt:widget id="spam"/>
         <wt:widget-label id="spam"/>