eOSP2/resources/views/equipmentAdd.blade.php

37 lines
1.2 KiB
PHP
Raw Normal View History

@extends('layout.app')
@section('left-menu')
@parent
<ul>
<a href="/sprzet/add"><li>Dodaj<img src="/./img/left_menu_icon/add.png"></li></a>
2020-01-05 14:36:21 +01:00
<li>Edytuj<img src="/img/left_menu_icon/edit.png"></li>
<li>Usuń<img src="/img/left_menu_icon/delete.png"></li>
</ul>
@stop
@section('center-area')
@parent
<form method="POST" action="/sprzet">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Nazwa:</label>
<input type="text" class="form-control" id="name" name="name" value="{{ old('name') }} ">
</div>
<div class="form-group">
<label for="amount">Ilość:</label>
<input type="text" class="form-control" id="amount" name="amount" value="{{ old('amount') }}">
</div>
<div class="form-group">
<label for="parameter">Parametr charakterystyczny:</label>
<input type="text" class="form-control" id="parameter" name="parameter" value="{{ old('parameter') }}">
</div>
<div class="form-group">
<button style="cursor:pointer" type="submit" class="btn btn-primary">Zatwierdź</button>
</div>
@include('inc.formerrors')
</form>
@stop