Skip to content

Commit bdb3715

Browse files
committed
[#2489] Minor tweaks to new buttons functionality
1 parent d963be9 commit bdb3715

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

book/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ In this example, you've added two fields to your form - ``task`` and ``dueDate``
126126
corresponding to the ``task`` and ``dueDate`` properties of the ``Task`` class.
127127
You've also assigned each a "type" (e.g. ``text``, ``date``), which, among
128128
other things, determines which HTML form tag(s) is rendered for that field.
129-
At last, you added a submit button for submitting the form to the server.
129+
At Finally, you added a submit button for submitting the form to the server.
130130

131131
.. versionadded:: 2.3
132132
Support for submit buttons was added in Symfony 2.3. Before that, you had

reference/forms/types/submit.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ A submit button.
2222
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\SubmitType` |
2323
+----------------------+----------------------------------------------------------------------+
2424

25-
Submit buttons feature an additional method
25+
The Submit button has an additional method
2626
:method:`Symfony\\Component\\Form\\ClickableInterface::isClicked` that lets you
27-
check whether this button was used to submit the forms. This is especially
27+
check whether this button was used to submit the form. This is especially
2828
useful when :ref:`a form has multiple submit buttons <book-form-submitting-multiple-buttons>`::
2929

3030
if ($form->get('save')->isClicked()) {

0 commit comments

Comments
 (0)