Changes for page Forms Standards: Inline Layout
Last modified by Marius Dumitru Florea on 2021/08/24
Change comment:
Fixed invalid XHTML
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.e valica1 +XWiki.Sergiu - Content
-
... ... @@ -9,11 +9,11 @@ 9 9 {{toc/}} 10 10 {{/box}} 11 11 12 -XWiki Forms (xform / xformInline) are general usage purpose CSS classes, that need to be used in order to have a consistent view of forms across XWiki. 12 +XWiki Forms (##xform## / ##xformInline##) are general usage purpose CSS classes, that need to be used in order to have a consistent view of forms across XWiki. 13 13 14 14 * Forms Layout Type: 15 - ** [[Vertical Layout>>DevGuide.VerticalForms]] (xform): uses a dl-dt-dd structure 16 - ** **Inline Layout** (xformInline) 15 + ** [[Vertical Layout>>DevGuide.VerticalForms]] (##xform##): uses a dl-dt-dd structure 16 + ** **Inline Layout** (##xformInline##) 17 17 18 18 == A. Usage == 19 19 ... ... @@ -43,11 +43,13 @@ 43 43 44 44 {{code language="html"}} 45 45 <form action="." class="xformInline" method="post" name="form_name1"> 46 - <label for="input_id1">Label</label> 47 - <input id="input_id1" name="input_name1" type="text" value="" size="30"/> 48 - <span class="buttonwrapper"> 49 - <input class="button" type="submit" value="Button"/> 50 - </span> 46 + <div> 47 + <label for="input_id1">Label</label> 48 + <input id="input_id1" name="input_name1" type="text" value="" size="30"/> 49 + <span class="buttonwrapper"> 50 + <input class="button" type="submit" value="Button"/> 51 + </span> 52 + </div> 51 51 </form> 52 52 {{/code}} 53 53 ... ... @@ -55,11 +55,13 @@ 55 55 56 56 {{html clean="false"}} 57 57 <form action="." class="xformInline" method="post" name="form_name1"> 58 - <label for="input_id1">Label</label> 59 - <input id="input_id1" name="input_name1" type="text" value=""/> 60 - <span class="buttonwrapper"> 61 - <input class="button" type="submit" value="Button"/> 62 - </span> 60 + </div> 61 + <label for="input_id1">Label</label> 62 + <input id="input_id1" name="input_name1" type="text" value=""/> 63 + <span class="buttonwrapper"> 64 + <input class="button" type="submit" value="Button"/> 65 + </span> 66 + </div> 63 63 </form> 64 64 {{/html}} 65 65