Skip to content

Commit d96e9b8

Browse files
kedrapweaverryan
authored andcommitted
Remove '<input type="submit" />' tag
I think, we should remove '<input type="submit" />' tag, because we've added it earlier, as a form field.
1 parent 67d75eb commit d96e9b8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

book/forms.rst

-4
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,6 @@ of code. Of course, you'll usually need much more flexibility when rendering:
731731

732732
{{ form_row(form.task) }}
733733
{{ form_row(form.dueDate) }}
734-
735-
<input type="submit" />
736734
{{ form_end(form) }}
737735

738736
.. code-block:: html+php
@@ -743,8 +741,6 @@ of code. Of course, you'll usually need much more flexibility when rendering:
743741

744742
<?php echo $view['form']->row($form['task']) ?>
745743
<?php echo $view['form']->row($form['dueDate']) ?>
746-
747-
<input type="submit" />
748744
<?php echo $view['form']->end($form) ?>
749745

750746
Take a look at each part:

0 commit comments

Comments
 (0)