123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- @extends('hello')
- @section('content')
- <div class="container" style="margin-top: 40px;">
- <div class="row">
- <div class="col-md-8 col-md-offset-2">
- <div class="panel panel-default">
- <div class="panel-heading"><h2 class="panel-title">Registrieren</h2></div>
- <div class="panel-body">
- {{Form::open(array('url' => 'register'))}}
- @if(count($errors->all()) > 0)
- <div class="alert alert-danger alert-dismissable">
- <button type="button" class="close" data-dismiss="alert">×</button>
- Deine Registrierungsdaten sind fehlerhaft!
- </div>
- @endif
- <div class="input-group form-group <?php if($errors->has('name')) echo "has-error" ?>">
- <span class="input-group-addon">
- <span class="glyphicon glyphicon-user"></span>
- </span>
- <input type="text" class="form-control" name="user" placeholder="Benutzername" <?php if(!is_null(Input::get('user'))) echo "value='" . Input::get('user') . "'"; ?>>
- </div>
- <div class="input-group form-group <?php if($errors->has('email')) echo "has-error" ?>">
- <span class="input-group-addon">
- <span class="glyphicon glyphicon-envelope"></span>
- </span>
- <input type="email" class="form-control" name="email" placeholder="name@domain.tld" <?php if(!is_null(Input::get('email'))) echo "value='" . Input::get('email') . "'"; ?>>
- </div>
- <div class="input-group form-group <?php if($errors->has('password')) echo "has-error" ?>">
- <span class="input-group-addon">
- <span class="glyphicon glyphicon-lock"></span>
- </span>
- <input type="password" class="form-control" name="password" placeholder="Passwort">
- </div>
- <div class="input-group form-group <?php if($errors->has('password')) echo "has-error" ?>">
- <span class="input-group-addon">
- <span class="glyphicon glyphicon-lock"></span>
- </span>
- <input type="password" class="form-control" name="pw-confirm" placeholder="Passwort bestätigen">
- </div>
- <div class="form-group <?php if($errors->has('fire')) echo "has-error" ?>">
- <div class="input-group">
- <span class="input-group-addon">
- <span class="glyphicon glyphicon-fire"></span>
- </span>
- <input type="text" class="form-control" name="fire" placeholder="π (pi) beschreibt welche geometrische Figur?" <?php if(!is_null(Input::get('fire'))) echo "value='" . Input::get('fire') . "'"; ?>>
- </div>
- <p class="help-block">Beantworte die Frage, um zu beweisen, dass Du kein Bot bist.</p>
- </div>
- <div class="form-group">
- <button type="submit" class="btn btn-primary">Registrieren</button>
- </div>
- {{ Form::close() }}
- </div>
- </div>
- </div>
- </div>
- </div>
- @stop
- @section('title')
- Registrieren ~
- @stop
|