settings.blade.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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">Passwort ändern</h2></div>
  8. <div class="panel-body">
  9. {{ Form::open(array('url' => 'settings/password')) }}
  10. {{ $errors->first() }}
  11. <div class="input-group form-group <?php if($errors->has('oldpw')) echo "has-error" ?>">
  12. <span class="input-group-addon">
  13. <span class="glyphicon glyphicon-lock"></span>
  14. </span>
  15. <input type="password" class="form-control" name="oldpw" placeholder="Altes Passwort">
  16. </div>
  17. <div class="input-group form-group <?php if($errors->has('newpw')) echo "has-error" ?>">
  18. <span class="input-group-addon">
  19. <span class="glyphicon glyphicon-lock"></span>
  20. </span>
  21. <input type="password" class="form-control" name="newpw" placeholder="Neues Passwort">
  22. </div>
  23. <div class="input-group form-group <?php if($errors->has('newpw')) echo "has-error" ?>">
  24. <span class="input-group-addon">
  25. <span class="glyphicon glyphicon-lock"></span>
  26. </span>
  27. <input type="password" class="form-control" name="newpw2" placeholder="Neues Passwort bestätigen">
  28. </div>
  29. <button type="submit" class="btn btn-primary">Absenden</button>
  30. {{ Form::close() }}
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="row">
  36. <div class="col-md-8 col-md-offset-2">
  37. <div class="panel panel-default">
  38. <div class="panel-heading"><h2 class="panel-title">Email ändern</h2></div>
  39. <div class="panel-body">
  40. {{ Form::open(array('url' => 'settings/email')) }}
  41. <div class="input-group form-group <?php if($errors->has('pw')) echo "has-error" ?>">
  42. <span class="input-group-addon">
  43. <span class="glyphicon glyphicon-lock"></span>
  44. </span>
  45. <input type="password" class="form-control" name="pw" placeholder="Passwort">
  46. </div>
  47. <div class="input-group form-group <?php if($errors->has('email')) echo "has-error" ?>">
  48. <span class="input-group-addon">
  49. <span class="glyphicon glyphicon-envelope"></span>
  50. </span>
  51. <input type="email" class="form-control" name="email" placeholder="Neue Email">
  52. </div>
  53. <div class="input-group form-group <?php if($errors->has('email')) echo "has-error" ?>">
  54. <span class="input-group-addon">
  55. <span class="glyphicon glyphicon-envelope"></span>
  56. </span>
  57. <input type="email" class="form-control" name="email2" placeholder="Neue Email bestätigen">
  58. </div>
  59. <button type="submit" class="btn btn-primary">Absenden</button>
  60. {{ Form::close() }}
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. @stop
  67. @section('title')
  68. Einstellungen ~
  69. @stop