2019-09-19 11:22:54 +02:00
|
|
|
@extends('layout.app')
|
|
|
|
|
|
|
|
@section('center-area')
|
2019-09-19 12:20:48 +02:00
|
|
|
@parent
|
|
|
|
<h2>Dodaj Jednostkę</h2>
|
2019-09-24 18:05:37 +02:00
|
|
|
<form method="POST" action="/jednostka">
|
2019-09-19 11:22:54 +02:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<div class="form-group">
|
2019-09-19 12:20:48 +02:00
|
|
|
<label for="name">Nazwa Jednostki:</label>
|
2019-09-19 11:22:54 +02:00
|
|
|
<input type="text" class="form-control" id="name" name="name" value="{{ old('name') }} ">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2019-09-19 12:20:48 +02:00
|
|
|
<label for="name">Numer Jednostki:</label>
|
|
|
|
<input type="text" class="form-control" id="number" name="number" value="{{ old('number') }}">
|
2019-09-19 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2019-09-19 12:20:48 +02:00
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label for="name">Województwo:</label>
|
|
|
|
<input type="text" class="form-control" id="voivodeship" name="voivodeship" value="{{ old('voivodeship') }}">
|
|
|
|
</div>
|
2019-09-19 11:22:54 +02:00
|
|
|
|
|
|
|
<div class="form-group">
|
2019-09-19 12:20:48 +02:00
|
|
|
<label for="name">Powiat:</label>
|
|
|
|
<input type="text" class="form-control" id="county" name="county" value="{{ old('county') }}">
|
|
|
|
</div>
|
2019-09-19 11:22:54 +02:00
|
|
|
|
2019-09-19 12:20:48 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">Gmina:</label>
|
|
|
|
<input type="text" class="form-control" id="community" name="community" value="{{ old('community') }}">
|
2019-09-19 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2019-09-19 12:20:48 +02:00
|
|
|
<label for="name">Urząd Pocztowy:</label>
|
|
|
|
<input type="text" class="form-control" id="postOffice" name="postOffice" value="{{ old('postOffice') }}">
|
2019-09-19 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2019-09-19 12:20:48 +02:00
|
|
|
<label for="name">Kod Pocztowy:</label>
|
|
|
|
<input type="text" class="form-control" id="zipCode" name="zipCode" value="{{ old('zipCode') }}">
|
2019-09-19 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2019-09-19 12:20:48 +02:00
|
|
|
<label for="name">Ulica:</label>
|
|
|
|
<input type="text" class="form-control" id="address" name="address" value="{{ old('address') }}">
|
2019-09-19 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2019-09-19 12:20:48 +02:00
|
|
|
<label for="name">Szerokośc Geograficzna:</label>
|
|
|
|
<input type="text" class="form-control" id="latitude" name="latitude" value="{{ old('latitude') }}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">Długość Geograficzna:</label>
|
|
|
|
<input type="text" class="form-control" id="longitude" name="longitude" value="{{ old('longitude') }}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">KRS:</label>
|
|
|
|
<input type="text" class="form-control" id="KRS" name="KRS" value="{{ old('KRS') }}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">NIP:</label>
|
|
|
|
<input type="text" class="form-control" id="NIP" name="NIP" value="{{ old('NIP') }}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">Numer telefonu:</label>
|
|
|
|
<input type="text" class="form-control" id="phoneNumber" name="phoneNumber" value="{{ old('phoneNumber') }}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">Email:</label>
|
|
|
|
<input type="email" class="form-control" id="email" name="email" value="{{ old('email') }}">
|
2019-09-19 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<button style="cursor:pointer" type="submit" class="btn btn-primary">Submit</button>
|
|
|
|
</div>
|
|
|
|
@include('inc.formerrors')
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@stop
|