bakalarska_praca/resources/views/add-user.blade.php
2023-05-11 21:57:12 +02:00

27 lines
776 B
PHP
Executable File

@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