@extends('layouts.website.website')
@section('content')

<section id="main-content">
    <section class="wrapper site-min-height row">
        <!-- page start-->
        <section class="col-md-6">
            <header class="panel-heading">
                Add Expense Category
            </header>
            <div class="panel-body">
                <div class="adv-table editable-table">
                    <div class="clearfix">
                        <form role="form" action="{{ route('website_expenseCategoryUpdate') }}" class="clearfix" method="post" enctype="multipart/form-data">
                            @csrf
                            <div class="form-group">
                                <label for="exampleInputEmail1">Category</label>
                                <input type="text" class="form-control" name="name" id="exampleInputEmail1" value="{{ $expenseCategory->name }}" placeholder="" />
                            </div>
                            <div class="form-group">
                                <label for="exampleInputEmail1">Description</label>
                                <input type="text" class="form-control" name="description" id="exampleInputEmail1" value="{{ $expenseCategory->description }}" placeholder="" />
                            </div>
                            <input type="hidden" name="id" value="{{ $expenseCategory->id }}" />
                            <div class="form-group cl-md-12">
                                <button type="submit" name="submit" class="btn btn-info pull-right">Submit</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </section>
        <!-- page end-->
    </section>
</section>


@endsection
