login.blade.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @extends('hello')
  2. @section('content')
  3. <div class="container" style="margin-top: 40px;">
  4. <div class="row">
  5. <div class="col-md-8 col-md-offset-2">
  6. <div class="panel panel-default">
  7. <div class="panel-heading"><h2 class="panel-title">Login</h2></div>
  8. <div class="panel-body">
  9. {{ Form::open(array('route' => 'login')) }}
  10. <div class="input-group form-group">
  11. <span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
  12. <input type="text" class="form-control " name="user" placeholder="Benutzername">
  13. </div>
  14. <div class="input-group form-group">
  15. <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
  16. <input type="password" class="form-control " name="password" placeholder="Passwort">
  17. </div>
  18. @if(Session::has('login_errors'))
  19. <div class="alert alert-danger alert-dismissable">
  20. <button type="button" class="close" data-dismiss="alert">&times;</button>
  21. Login-Daten fehlerhaft!
  22. </div>
  23. @endif
  24. <div class="form-group">
  25. <button type="submit" class="btn btn-primary">Anmelden</button>
  26. <p class="help-block"><a href="{{ url('passwort-vergessen') }}">Passwort vergessen?</a><br>
  27. <a href="{{ url('register') }}">Registrieren</a></p>
  28. </div>
  29. {{ Form::close() }}
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. @stop
  36. @section('title')
  37. Login ~
  38. @stop