@extends('dashboard.master.layouts.master')
@section('content')
    <section class="section">
        <div class="section-header">
            <h1>Master Dashboard</h1>
        </div>
        <div class="row">
            <div class="col-12">
                @include('partials.validation_message')
                <div class="card">
                    <div class="card-header">
                        {{ $title }}
                    </div>
                    <div class="card-body">
                        <form action="{{ route('master.profile.update') }}" class="user" method="POST">
                            @csrf
                            <div class="form-group">
                                <label for="name">Name</label>
                                <input type="name" class="form-control" id="name" name="name"
                                    placeholder="Enter name" value="{{ $master->name }}">
                            </div>
                            <div class="form-group">
                                <label for="email">Email</label>
                                <input type="email" class="form-control" id="email" name="email"
                                    placeholder="Email Address" value="{{ $master->email }}">
                            </div>
                            <div class="form-group">
                                <label for="password">Password</label>
                                <input type="text" class="form-control" id="password" name="password"
                                    placeholder="Password">
                            </div>
                            <input type="submit" class="btn btn-primary btn-user btn-block" value="Update Account">
                        </form>
                    </div>

                </div>
            </div>
        </div>
    </section>
@endsection
