settings.blade.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. <dl class="dl-horizontal">
  41. <dt>Aktuelle Email</dt>
  42. <dd>{{Auth::user()->email}}</dd>
  43. </dl>
  44. {{ Form::open(array('url' => 'settings/email')) }}
  45. <div class="input-group form-group <?php if($errors->has('pw')) echo "has-error" ?>">
  46. <span class="input-group-addon">
  47. <span class="glyphicon glyphicon-lock"></span>
  48. </span>
  49. <input type="password" class="form-control" name="pw" placeholder="Passwort">
  50. </div>
  51. <div class="input-group form-group <?php if($errors->has('email')) echo "has-error" ?>">
  52. <span class="input-group-addon">
  53. <span class="glyphicon glyphicon-envelope"></span>
  54. </span>
  55. <input type="email" class="form-control" name="email" placeholder="Neue Email">
  56. </div>
  57. <div class="input-group form-group <?php if($errors->has('email')) echo "has-error" ?>">
  58. <span class="input-group-addon">
  59. <span class="glyphicon glyphicon-envelope"></span>
  60. </span>
  61. <input type="email" class="form-control" name="email2" placeholder="Neue Email bestätigen">
  62. </div>
  63. <button type="submit" class="btn btn-primary">Absenden</button>
  64. {{ Form::close() }}
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. @stop
  71. @section('title')
  72. Einstellungen ~
  73. @stop