bakalarska_praca/resources/views/add-user.blade.php

27 lines
776 B
PHP
Raw Permalink Normal View History

2023-05-11 19:57:12 +00:00
@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