@@ -166,7 +166,7 @@ will appear.
166166You could also pass the collection of errors into a template::
167167
168168 if (count($errors) > 0) {
169- return $this->render('Author /validation.html.twig', array(
169+ return $this->render('author /validation.html.twig', array(
170170 'errors' => $errors,
171171 ));
172172 }
@@ -177,7 +177,7 @@ Inside the template, you can output the list of errors exactly as needed:
177177
178178 .. code-block :: html+jinja
179179
180- {# app/Resources/views/Author /validation.html.twig #}
180+ {# app/Resources/views/author /validation.html.twig #}
181181 <h3>The author has the following errors</h3>
182182 <ul>
183183 {% for error in errors %}
@@ -187,7 +187,7 @@ Inside the template, you can output the list of errors exactly as needed:
187187
188188 .. code-block :: html+php
189189
190- <!-- app/Resources/views/Author /validation.html.php -->
190+ <!-- app/Resources/views/author /validation.html.php -->
191191 <h3>The author has the following errors</h3>
192192 <ul>
193193 <?php foreach ($errors as $error): ?>
@@ -235,7 +235,7 @@ workflow looks like the following from inside a controller::
235235 return $this->redirect($this->generateUrl(...));
236236 }
237237
238- return $this->render('Author /form.html.twig', array(
238+ return $this->render('author /form.html.twig', array(
239239 'form' => $form->createView(),
240240 ));
241241 }
0 commit comments