eOSP2/resources/views/fireFightersEdit.blade.php

47 lines
1.7 KiB
PHP
Raw Normal View History

2019-10-05 22:29:46 +02:00
@extends('layout.app')
@section('left-menu')
@parent
<ul>
<a href="/strazacy/add"><li>Dodaj<img src="img/left_menu_icon/add.png"></li></a>
<li>Edytuj<img src="img/left_menu_icon/edit.png"></li>
<li>Wyklucz<img src="img/left_menu_icon/delete.png"></li>
<li>Zawieś<img src="img/left_menu_icon/suspended.png"></li>
<li>Więcej<img src="img/left_menu_icon/more.png"></li>
</ul>
@stop
@section('center-area')
@parent
<form method="POST" action="/strazacy/edit">
{{ csrf_field() }}
2019-10-06 02:15:16 +02:00
<input type="hidden" class="form-control" name="userID" value="{{$fireFighter->id}}">
2019-10-05 22:29:46 +02:00
<div class="form-group">
<label for="name">Imię:</label>
2019-10-06 02:15:16 +02:00
<input type="text" class="form-control" id="name" name="name" value="{{ $fireFighter->name}}">
2019-10-05 22:29:46 +02:00
</div>
<div class="form-group">
<label for="name">Nazwisko:</label>
2019-10-06 02:15:16 +02:00
<input type="text" class="form-control" id="surname" name="surname" value="{{ $fireFighter->surname }}">
2019-10-05 22:29:46 +02:00
</div>
<div class="form-group">
<label for="name">Pesel:</label>
2019-10-06 02:15:16 +02:00
<input type="text" class="form-control" id="PESEL" name="PESEL" value="{{ $fireFighter->PESEL }}">
2019-10-05 22:29:46 +02:00
</div>
<div class="form-group">
<label for="name">Numer telefonu:</label>
2019-10-06 02:15:16 +02:00
<input type="text" class="form-control" id="phoneNumber" name="phoneNumber" value="{{ $fireFighter->phoneNumber }}">
2019-10-05 22:29:46 +02:00
</div>
<div class="form-group">
<button style="cursor:pointer" type="submit" class="btn btn-primary">Edytuj</button>
</div>
@include('inc.formerrors')
</form>
@stop