@extends('layout.app')


@section('content')
    <div class="row">
        <div class="col-md-8 m-auto">
            <div class="card">
                <div class="card-body">
                    <h2 class="text-center">Add Olt</h2>
                </div>
                <form action="{{ route('oltinfo.store') }}" method="POST">
                    @csrf
                    <div class="row">
                        <div class="col-md-11 m-auto">
                            <div class="form-group">
                                <label for="olt_address">Olt Address</label>
                                <input type="text" name="olt_address" class="form-control" id="olt_address"
                                    placeholder="Olt Address">
                            </div>
                            <div class="form-group">
                                <label for="community">Community</label>
                                <input type="text" name="community" class="form-control" id="community"
                                    placeholder="Community">
                            </div>
                            <div class="form-group">
                                <label for="olt_company">Olt Company</label>
                                <select name="olt_company" id="" class="form-control">
                                    <option value="">Select Olt Company</option>
                                    <option value="BDCom">BDCom</option>
                                    <option value="Vsol">Vsol</option>
                                    <option value="Cdata">C-data</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <label for="olt_type">Olt Type</label>
                                <select name="olt_type" id="" class="form-control">
                                    <option value="">Select Olt Type</option>
                                    <option value="Epon">Epon</option>
                                    <option value="Gpon">Gpon</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <label for="port">Port</label>
                                <input type="text" name="port" class="form-control" id="port" placeholder="Port">
                            </div>
                            <button class="btn btn-success mb-3" type="submit" style="float: right">Add Olt</button>
                        </div>
                    </div>


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