File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ Form Type Options
545545
546546Each :ref: `form type <form-types >` has a number of options to configure it, as
547547explained in the :doc: `Symfony form types reference </reference/forms/types >`.
548- Two commonly used options options are ``required `` and ``label ``.
548+ Two commonly used options are ``required `` and ``label ``.
549549
550550The ``required `` Option
551551.......................
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ Use the ``methods`` option to restrict the verbs each route should respond to:
200200
201201 HTML forms only support ``GET `` and ``POST `` methods. If you're calling a
202202 route with a different method from an HTML form, add a hidden field called
203- ``_method `` with the method to use (e.g. ``<input type="hidden" name="_method" value="PUT" /> ``).
203+ ``_method `` with the method to use (e.g. ``<input type="hidden" name="_method" value="PUT"/> ``).
204204 If you create your forms with :doc: `Symfony Forms </forms >` this is done
205205 automatically for you.
206206
@@ -1910,7 +1910,7 @@ Generating URLs in Templates
19101910The Twig template language used in :doc: `Symfony templates </templating >`
19111911provides some functions to generate both relative and absolute URLs:
19121912
1913- .. code-block :: twig
1913+ .. code-block :: html+ twig
19141914
19151915 {# generates relative URLs #}
19161916 <a href="{{ path('sign_up') }}">Sign up</a>
Original file line number Diff line number Diff line change @@ -664,7 +664,6 @@ Then you can access this metadata in your controller as follows::
664664
665665 use App\Entity\BlogPost;
666666 use Symfony\Component\Workflow\Registry;
667- use App\Entity\BlogPost;
668667
669668 public function myController(Registry $registry, BlogPost $post)
670669 {
You can’t perform that action at this time.
0 commit comments