Permalink
Browse files

Update doc blocks.

Add missing templates sections.
  • Loading branch information...
1 parent ca9fddf commit 7be864873b89375895d3ea6dd0e93120097dd2cd @markstory markstory committed Jan 16, 2014
Showing with 6 additions and 2 deletions.
  1. +5 −0 src/View/Input/Label.php
  2. +1 −2 src/View/Input/Radio.php
@@ -32,6 +32,11 @@ class Label {
/**
* Constructor.
*
+ * This class uses the following template:
+ *
+ * - `label` Used to generate the label for a radio button.
+ * Can use the following variables `attrs`, `text` and `input`.
+ *
* @param Cake\View\StringTemplate $templates
*/
public function __construct($templates) {
@@ -44,13 +44,12 @@ class Radio {
*
* - `radio` Used to generate the input for a radio button.
* Can use the following variables `name`, `value`, `attrs`.
- * - `label` Used to generate the label for a radio button.
- * Can use the following variables `attrs`, `text` and `input`.
* - `radioContainer` Used to generate the container element for
* the radio + input element. Can use the `input` and `label`
* variables.
*
* @param Cake\View\StringTemplate $templates
+ * @param Cake\View\Input\Label $label
*/
public function __construct($templates, $label) {
$this->_templates = $templates;

0 comments on commit 7be8648

Please sign in to comment.