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

{{-- Designation ADD New --}}

<form method="POST" action="{{ route('Designation.store') }}">
    @csrf
    <div class="card">
        <div class="card-header">        
            <div class="d-flex align-items-center">
                <div class="p-2  flex-fill bd-highlight">
                    <h4>Add New Designations </h4>
                </div>            
            </div>  
        </div>
        <div class="card-body">
            <div class="row">           
                <div class="col-sm-6 form-group">
                    <label for="txtName">Designation</label>
                    <input type="text" class="form-control" name="title" id="txtName"/>
                </div>
                <div class="col-sm-6 form-group">
                    <label for="txtCl">CL</label>
                    <input type="text" class="form-control" name="CL" id="numCl"/>
                </div>
                <div class="col-sm-6 form-group">
                    <label for="txtBp">BP</label>
                    <input type="text" class="form-control" name="BP" id="numBp"/>
                </div>
                <div class="col-sm-6 form-group">
                    <label for="txtAdvance">Advance</label>
                    <input type="text" class="form-control" name="advance" id="numAdvance"/>
                </div>
                <div class="col-sm-12 form-group">
                    <label for="txtNarration">Narration</label>
                    <input type="text" class="form-control" name="narration" id="txtNarration"/>
                </div>
            </div>
        </div>
        <div class="card-footer">
            <div class="d-flex  justify-content-start p-2" style="width:50%;float:left;">
                <a class="btn btn-primary" href="{{ route('Designation.index') }}"><i class="fas fa-arrow-left"></i> Back</a>
            </div>
            <div class="d-flex  justify-content-end p-2">
                <button type="reset" class="btn btn-secondary mr-2" name="btnSave">Clear</button>
                <button type="submit" class="btn btn-primary" name="btnSave">Save</button>
            </div>
        </div>
    </div>
</form>




    {{-- <h1 class="text-2xl">Enter your next TODO</h1>
        <form method="post" action="">
            @csrf
            <input type="text" name="title" class="py-2 px-2 border rounded"/>
            <input type="submit" value="Save Todo" class="p-2 rounded"/>
        </form>
        <x-flash/>
        <a href="" class="btn btn-primary">Back</a> --}}
@endsection