Guest User

Untitled

a guest
Jan 13th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. {% if not is_granted('IS_AUTHENTICATED_FULLY') %}
  2. <div id="login_inline">
  3. <form action="{{ path('login_check') }}" method="post">
  4. <label for="username">Username:</label>
  5. <input type="text" id="username" name="_username" />
  6.  
  7. <label for="password">Password:</label>
  8. <input type="password" id="password" name="_password" />
  9.  
  10. <input type="hidden" name="_target_path" value="{{ app.request.pathInfo }}" />
  11.  
  12. <input type="submit" name="login" />
  13. </form>
  14. </div>
  15. {% endif %}
Add Comment
Please, Sign In to add comment