Index: src/blocks/forms/samples/forms/inplace_edit_form.xml =================================================================== --- src/blocks/forms/samples/forms/inplace_edit_form.xml (revision 0) +++ src/blocks/forms/samples/forms/inplace_edit_form.xml (revision 393475) @@ -0,0 +1,51 @@ + + + + + + + + + + + Your name + + + + Cocoon user + + Occupation + + + + + Comments + + + + Check + Redisplays the page so you can see the various renderings of inplace inputs depending on their values. + + + + OK + + + + \ No newline at end of file Index: src/blocks/forms/samples/forms/inplace_edit_template.xml =================================================================== --- src/blocks/forms/samples/forms/inplace_edit_template.xml (revision 0) +++ src/blocks/forms/samples/forms/inplace_edit_template.xml (revision 393475) @@ -0,0 +1,72 @@ + + + + + + +

Inline editing

+ Inline editing + + + +

The fields below show the various features of in-place editing. "In place" means that inputs are rendered as normal text, and become editable once you click on them. +

+ + + + + + + + + + + + + + + +
+ Your name:
+ An inplace input with no initial value. The displayed text is + the input's hint +
+ +
+ Your occupation:
+ An inplace input with an initial value. +
+ +
+ Comments:
+ An multiline inplace input. +
+ +
+
+ + +
+ Restart this sample - Back to Forms samples + +
+
+