Answer the question
In order to leave comments, you need to log in
What is mysticism? When developing Symfony 2, 2 pages are displayed on one page in chrome dev tools. How is this possible?
I am making a website on symfony 2. I
am using the FOSUserBundle bundle.
There is a registration page /register
And an authorization
page /login I open the /login page
I look at the source code. Everything is fine. One page.
<html>
<head>
<title>Вход</title>
</head>
<body>
Это содержимое страницы авторизации
</body>
</html>
<html>
<head>
<title>Вход</title>
</head>
<body>
Это содержимое страницы авторизации
</body>
<div id="sfwdtb847bc" class="sf-toolbar" style="display: none;" data-sfurl="/app_dev.php/_wdt/b847bc">
<head>
<title>Регистрация</title>
</head>
<body>
Это содержимое страницы регистрации
</body>
</div>
</html>
Answer the question
In order to leave comments, you need to log in
Disable the debug panel and look at the result.
In general, when development tools do not show the structure that is described in the code received from the server, this means that the DOM has been rebuilt after the page has loaded. Maybe something loaded with JavaScript - look at the web accesses and AJAX requests tab.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question