@extends('layouts.layout')

@section('title')Налаштування @endsection

@section('content')

<section>
    <div class='container contact'>

        <h4>Налаштування</h4>
        
        <form method="post" action="{{ route('settings.edit') }}" class="php-email-form" id="set-form" novalidate>

            @csrf

            <div class="form-group">
                <label for='email'>Ваша електронна пошта</label>
                <input class="form-control" type="email" id="email" name="email" readonly value="{{ auth()->user()->email }}">
            </div>
            
            <div class="form-group">
                <label for='password'>Пароль</label>
                <input class="form-control" type="password" id="password" name="password">
            </div>
            
            <div class="form-group">
                <label for='password_confirmation'>Підтвердіть пароль</label>
                <input class="form-control" type="password" id="password_confirmation_settings" name="password_confirmation">
            </div>
            
            <div class="form-group">
                <button type="submit" class="btn btn-primary">Зберiгти</button>
            </div>

        </form>

    </div>
</section>


@endsection  

