27 lines
776 B
PHP
27 lines
776 B
PHP
|
@extends('layouts.app')
|
||
|
|
||
|
@section('content')
|
||
|
<div class="row justify-content-center">
|
||
|
<div class="col-md-6">
|
||
|
<h1>Pridanie pouzivatela</h1>
|
||
|
@if (session('success'))
|
||
|
<div class="alert alert-success">
|
||
|
{{ session('success') }}
|
||
|
</div>
|
||
|
@endif
|
||
|
<form method="POST" action="{{ route('add-user') }}">
|
||
|
@csrf
|
||
|
<div class="form-group">
|
||
|
<label for="name">Meno pouzivatela:</label>
|
||
|
<input type="text" name="name" id="name" class="form-control">
|
||
|
</div>
|
||
|
|
||
|
<button type="submit" class="btn btn-primary">Pridat</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endsection
|
||
|
|
||
|
|
||
|
|