@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">Dashboard</div>

                <div class="panel-body">
                    @if (session('status'))
                        <div class="alert alert-success">
                            {{ session('status') }}
                        </div>
                    @endif

                    You are logged in!
                </div>

                <form method="post" action="/saveorder">
                {{csrf_field()}}
                <div class="form-group">
                    <label for="email">page name</label>
                    <input type="text" class="form-control" id="pagename" name="pagename">
                </div>
                <div class="form-group">
                    <label for="email">customer name</label>
                    <input type="text" class="form-control" id="name" name="name">
                </div>
                <button type="submit" class="btn btn-default">Submit</button>
                </form>

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