Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if not is_granted('IS_AUTHENTICATED_FULLY') %}
- <div id="login_inline">
- <form action="{{ path('login_check') }}" method="post">
- <label for="username">Username:</label>
- <input type="text" id="username" name="_username" />
- <label for="password">Password:</label>
- <input type="password" id="password" name="_password" />
- <input type="hidden" name="_target_path" value="{{ app.request.pathInfo }}" />
- <input type="submit" name="login" />
- </form>
- </div>
- {% endif %}
Add Comment
Please, Sign In to add comment