75 lines
No EOL
3.1 KiB
PHP
75 lines
No EOL
3.1 KiB
PHP
@extends('layouts.layout')
|
|
|
|
@section('content')
|
|
<div class="col-md-8">
|
|
<h1>Spieler bearbeiten</h1>
|
|
<a style="float:right;" href="#" class="btn btn-primary">Spielerkonto löschen</a>
|
|
|
|
<p> </p>
|
|
<p> </p>
|
|
<p> </p>
|
|
|
|
<form method="POST" action="/users/store" id="playerform">
|
|
{{ csrf_field() }}
|
|
<div class="form-group">
|
|
|
|
<div>
|
|
<label style="float:left; width:150px" for="name">Login:</label>
|
|
<input type="text" class="form-control" id="name" name="name" value="{{ $user->name }}" required>
|
|
</div>
|
|
<div>
|
|
<label style="float:left; width:150px" for="firstname">Vorname:</label>
|
|
<input type="text" class="form-control" id="firstname" name="firstname" value="{{ $user->firstname }}" required>
|
|
</div>
|
|
<div>
|
|
<label style="float:left; width:150px" for="lastname">Nachname:</label>
|
|
<input type="text" class="form-control" id="lastname" name="lastname" value="{{ $user->lastname }}" required>
|
|
</div>
|
|
|
|
<p> </p>
|
|
<div>
|
|
<label style="float:left; width:150px" for="name">Zahlung für Saison:</label>
|
|
|
|
<div class='input-group has_datepicker' id='datetimepicker1'>
|
|
<input style="float:left;width:150px" type="text" class="form-control" id="paid" name="paid" value="{{ $paid_date_str }}" >
|
|
<span class="input-group-addon" style="float:left;width:50px;">
|
|
<span class="glyphicon glyphicon-calendar"></span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<p> </p>
|
|
<div>
|
|
<label style="float:left; width:150px" for="name">Email:</label>
|
|
<input type="text" class="form-control" id="email" style="width:600px" name="email" value="{{ $user->email }}" required>
|
|
</div>
|
|
<p> </p>
|
|
<div>
|
|
<label style="float:left; width:150px;" for="admin">Admin:</label>
|
|
|
|
{{ Form::checkbox('admin', 'admin', $user->admin ) }} <!-- name, value, checked -->
|
|
|
|
<!-- <input style="width:150px" type="checkbox" class="form-control" id="admin" name="admin" value="{{ $user->admin }}" > -->
|
|
</div>
|
|
|
|
|
|
<input type="hidden" name="id" value="{{ $user->id }}">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<p> </p>
|
|
<p> </p>
|
|
<span>
|
|
</span><button type="submit" class="btn btn-primary" style="float:none; width:100px">Ok</button>
|
|
</div>
|
|
</form>
|
|
<p> </p>
|
|
<p> </p>
|
|
<p> </p>
|
|
|
|
</div>
|
|
@endsection |