<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
    <h1 class="h3 mb-0 text-gray-800">Edit Project</h1>
</div>


<div class="row justify-content-center">

    <div class="col-xl-12">

        <div class="card o-hidden border-0 shadow-lg my-5">
            <div class="card-body p-0">
                <!-- Nested Row within Card Body -->
                <div class="row">
                    <div class="col-lg-6 d-none d-lg-block bg-login-image"></div>
                    <div class="col-lg-6">
                        <div class="p-5">
                            <form method="POST" class="" action="/projects/<%= project._id %>">
                                <input type="hidden" name="_method" value="PUT">
                                <div class="form-group">
                                    <input type="text" name="title" class="form-control" id="title" value="<%= project.title %>" placeholder="Title">
                                </div>
                                <div class="form-group">
                                    <textarea name="description" id="description" placeholder="description"><%= project.description %></textarea>
                                </div>
                                <br/>
                                <button type="submit" class="btn btn-primary btn-user btn-block">
                                    Save
                                </button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
