@extends('layouts.app')


@section('content')

<div class="container">
    <h1>Bem vindo a página de criação dos usuários, <span style="background-color:rgb(89, 255, 255); border-radius: 0.3em; padding: 0.2em">{{Auth::user()->name}}!</span></h1>

    <form action="{{ route('users.create') }}" method="POST" class="form-class">
        @csrf
        <input type="text" name="name" placeholder="Nome do usuário" class="form-input-class">
        <input type="email" name="email" placeholder="Email do usuário" class="form-input-class">
        <input type="password" name="password" placeholder="8 a 20 caracteres" class="form-input-class">
        <button type="submit" class="form-button-class">Criar usuário</button>
    </form>

</div>

@endsection