@extends('Admin.master_page')

@section('title') <h5 class="m-0 font-weight-bold text-primary" style="float: left;">Category Add</h5> 

<a href="{{ route('StatusCategory.index') }}" style="float: right;"><i class="fas fa-chevron-circle-left"></i></a>
@endsection

@section('content')

<div class="intro-y box"> 
        
        <form action="{{ route('StatusCategory.store') }}" method="POST">
            @csrf


        <label for="Name" >Name:</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="text" name="name" class="form-control" placeholder="Title">
            @error('name')
            <span class="alert-danger">{{ $message }}</span>
            @enderror
        </div>

        <br>

        <label for="Name" >Status:</label>
        <div class="input-group" style="margin-top: 10px;">
           <select class="form-control" name="status" >
               <option value="">Please Select one</option>
               <option value="1">Operational</option>
               <option value="2">Under maintenance</option>
               <option value="3">Degraded performance</option>
               <option value="4">Partial outage</option>
               <option value="5">Major outage</option>
           </select>
            @error('message')
            <span class="alert-danger">{{ $message }}</span>
            @enderror
        </div>

        <br>

        <button type="submit" class="btn btn-primary">Submit</button>
        </form>
    </div>



@endsection