eOSP2/resources/views/fireFightersEdit.blade.php

44 lines
1.5 KiB
PHP
Raw Normal View History

2019-10-05 22:29:46 +02:00
@extends('layout.app')
@section('left-menu')
@parent
<ul>
2020-01-30 21:19:05 +01:00
<a href="/strazacy"><li>Przeglądaj<img src="/img/left_menu_icon/more.png"></li></a>
<a href="/szkolenia"><li><font size="-2">Badania/Szkolenia</font><img src="/img/left_menu_icon/more.png"></li></a>
2019-10-05 22:29:46 +02:00
</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">Zapisz</button>
2019-10-05 22:29:46 +02:00
</div>
@include('inc.formerrors')
</form>
@stop