@extends('layouts.app') 
@section('title') Update Deduction Tittle
 @stop
  @section('breadcrumb')
<ol class="breadcrumb pull-right">
  <li><a href="{{route('home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
  <li class="active">Update Deduction Tittle</li>
</ol> 
@stop
 @section('content')
<div class="container-fluid">
  <div class="row">
    <div class="col-sm-12">
      <div class="white-box">
        <h3 class="box-title m-b-0">Update Deduction Title</h3>
        <p class="text-muted m-b-30 font-13"> </p>
        <form class="form-horizontal" method="POST" action="{{ route('update.deduction.title',['id'=>$deduction_tittle->id]) }}"> 
          {{csrf_field()}}
          <div class="form-group">
            
            <div class="col-md-6">
             <label>Title:</label>
              <input type="text" class="form-control" placeholder="Type Allowance title here...." value="{{$deduction_tittle->name}}" name="title">
                @if ($errors->has('title'))
                  <span>
                   <strong class="error_messages" >{{ $errors->first('title') }}</strong>
                  </span>
                @endif
            </div>

            <div class="col-md-6" style="margin-top: 2.6rem;">
              <button type="submit" class="btn btn-success waves-effect waves-light m-r-10">Submit</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
 @stop