Add options, method arguments, examples, definitions, tips
Consolidation commit before pull request: Add code tags around names of: methods, arguments, attributes, options, HTML elements, where missing. Add argument list with description for each method on the page Add list of used templates after method description, in all method where it applies. Add Form::create() options list with description in new subsection Add missing options in options list for: input() and add details in some option definitions. Reword Input Options descriptions to keep current definition but start by option type specification. Clarify in introduction of Common Options for Specific Inputs that the options will be provided either in $options or in $attributes depending on the method Create subsection for Checkbox, Select and Radio and move common Options for Select, Checkbox and Radio at beginning of that subsection for easier reference. Clarify in Options for Select, Checkbox and Radio when 'value' and 'empty' will do for each method Indent code block examples inside all options lists, one level further, in order to allow faster and easier scan of the list and differentiation between definitions/descriptions and examples. Create subsection for Date & Time controls and move common Options for Date & Time at beginning of this subsection for easier reference. Separate Options for Date & Time in 3 sub-subsections: Common Options for Date & Time, Options for Date and Options for Time Add missing Date & Time options from API source code comments, along with explanations. Add missing date() method subsection inside the Date & Time section along with example. Improve explanations of Date & Time options based on comments in API source code. Add ref links from each Date & Time method arguments description towards: common input options, common datetime options and respectively common date or time options (depending on method). Transform textual note at the end of Creating Month Inputs into reST note. Add example output for minutes interval example code, in Creating Minute Inputs. Regroup options specific to any one particular method inside a list in the method's section; easier to identify and skim through. Add 2 subsections inside Displaying and Checking errors; one for each method for easier reference from TOC. Create 2 subsections inside Creating Buttons and Submit Elements: one for submits and one for buttons; allows easier access from TOC. Create 2 subsections inside Creating Standalone Buttons and POST Links; allows easier access from TOC. Create 2 subsections inside Generating Entire Forms: allows easier access from TOC. Add reST note about additional options passed to Submit, being passed to the input element. Elaborate definition in Creating Submit Elements subsection, based on API source-code comments. Change last example code block inside inputs() method to use the actual method instead of allInputs(). Add reST note in Creating Form Inputs to remind that elements generated by input() are always wrapped in divs. Elaborate description for error() and add reST tip about use of validator messages. Improve and expand some definitions and explanations across page, based on detailed comments from API source code. Expand explanation introducing the autodetected datatypes in Creating Form Inputs. Add links to context provider classes in API from each entry in the list of built-in context providers in Starting a Form section. Clarify in Moving Checkboxes and Radios Outside of a Label that only checkboxes created via input() are wrapped in a label. Add details about radio button creation methods in Moving Checkboxes and Radios Outside of a Label
Loading
Please sign in to comment