<div class="modal fade" id="add_leave_type_modal" tabindex="-1" role="dialog" 
    	aria-labelledby="gridSystemModalLabel">
	<div class="modal-dialog" role="document">
	  <div class="modal-content">

	    {!! Form::open(['url' => action([\Modules\Essentials\Http\Controllers\EssentialsLeaveTypeController::class, 'store']), 'method' => 'post', 'id' => 'add_leave_type_form' ]) !!}

	    <div class="modal-header">
	      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	      <h4 class="modal-title">@lang( 'essentials::lang.add_leave_type' )</h4>
	    </div>

	    <div class="modal-body">
	      	<div class="form-group">
	        	{!! Form::label('leave_type', __( 'essentials::lang.leave_type' ) . ':*') !!}
	          	{!! Form::text('leave_type', null, ['class' => 'form-control', 'required', 'placeholder' => __( 'essentials::lang.leave_type' ) ]); !!}
	      	</div>

	      	<div class="form-group">
	        	{!! Form::label('max_leave_count', __( 'essentials::lang.max_leave_count' ) . ':') !!}
	          	{!! Form::number('max_leave_count', null, ['class' => 'form-control', 'placeholder' => __( 'essentials::lang.max_leave_count' ) ]); !!}
	      	</div>

	      	<div class="form-group">
	      		<strong>@lang('essentials::lang.leave_count_interval')</strong><br>
	      		<label class="radio-inline">
	      			{!! Form::radio('leave_count_interval', 'month', false); !!} @lang('essentials::lang.current_month')
	      		</label>
	      		<label class="radio-inline">
	      			{!! Form::radio('leave_count_interval', 'year', false); !!} @lang('essentials::lang.current_fy')
	      		</label>
	      		<label class="radio-inline">
	      			{!! Form::radio('leave_count_interval', null, false); !!} @lang('lang_v1.none')
	      		</label>
	      	</div>
	    </div>

	    <div class="modal-footer">
	      <button type="submit" class="tw-dw-btn tw-dw-btn-primary tw-text-white">@lang( 'messages.save' )</button>
	      <button type="button" class="tw-dw-btn tw-dw-btn-neutral tw-text-white" data-dismiss="modal">@lang( 'messages.close' )</button>
	    </div>

	    {!! Form::close() !!}

	  </div><!-- /.modal-content -->
	</div><!-- /.modal-dialog -->
</div>