Skip to content

Commit

Permalink
Make PR changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erica Pisani committed Dec 5, 2013
1 parent accdf2b commit 7ef9f51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 4 additions & 2 deletions en/core-libraries/helpers/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,11 @@ There are a number of options for create():
defaultOptions by declaring the option in the input() call::

echo $this->Form->input('password'); // No div, no label
// has a label element
echo $this->Form->input(
'username',
array('label' => 'Username')
); // has a label element
);

Closing the Form
================
Expand Down Expand Up @@ -1664,10 +1665,11 @@ inputDefaults. You can override the default options by declaring the option in t
input() call::

echo $this->Form->input('password'); // No div, no label with class 'fancy'
// has a label element same defaults
echo $this->Form->input(
'username',
array('label' => 'Username')
); // has a label element same defaults
);

Working with SecurityComponent
==============================
Expand Down
9 changes: 5 additions & 4 deletions en/core-libraries/helpers/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -883,10 +883,11 @@ methods of the HtmlHelper and how to use them.
.. code-block:: html

<tr>
<td>Jul 7th, 2007</td>
<td class="highlight">
Best Brownies
</td>
<td>
Jul 7th, 2007
</td>
<td class="highlight">
Best Brownies
</td>
<td>
Yes
Expand Down

0 comments on commit 7ef9f51

Please sign in to comment.