@if(Auth::check())
    @extends('layouts.layout')
    @include('layouts.header')

    <body class="skin-blue sidebar-mini" style="height: auto;">
    <div class="wrapper" style="height: auto;">
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section id="content-menu" class="content-menu">
                <div class="module-menu-container"></div>
                <ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
                    <li class="active"><i class="fa-users"></i>User</li>
                    <li class="active"><i class="fa-user"></i>Add User</li>
                </ol><!-- breadcrumbs -->
            </section>
            <!-- Main content -->
            <section class="content">

                <div class="login-box">
                    <!-- /.login-logo -->
                    <div class="login-box-body">
                        <p class="login-box-msg">Add new User Sistem</p>
                        <form action="{{route('admin.store')}}" method="post" enctype="multipart/form-data">
                            {{ csrf_field() }}
                            <div class="form-group has-feedback">
                                <label class="col-md-4 control-label">Username</label>
                                <input type="text" class="form-control" name="username" required>
                                <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
                            </div>
                            <div class="form-group has-feedback">
                                <label class="col-md-4 control-label">Password</label>
                                <input class="form-control" type="password" name="password" required/>
                                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                            </div>
                            <div class="form-group has-feedback">
                                <label class="col-md-4 control-label">Role</label>
                                <select class="form-control" name="role" required>
                                <option value="klien">Klien</option>
                                <option value="k_klien">Koordinator Klien</option>
                                <option value="k_supir">Koordinator Supir</option>
                                </select>
                            </div>
                            <div class="row">
                                <!-- /.col -->
                                <div class="col-xs-4">
                                    <input type="submit" value="Tambah User" class="btn btn-danger">
                                </div>
                                <!-- /.col -->
                            </div>
                        </form>
                    </div>
                    <!-- /.login-box-body -->
                </div>

            </section>
            <!-- /.content -->
        </div>
    </div>
    </body>
@endif