<!-- MODAL UPDATE PERMISSION -->
<div class="modal fade" id="md_add_permission" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  {{ Form::open(array('route' => 'permission.store', 'id' => 'form_add_permission', 'class' => 'cls_form')) }}
  <div class="modal-dialog modal-sm" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Create Permission</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true"></span>
        </button>
      </div>
      <div class="modal-body ">
        <div class ="card">
          <div class = "card-body form-fieldset">
                 <div class="row">

          <div class="col-sm-12">
            <label class="label-color"> Module:</label>
            <small class="form-errors pull-right req" value="*">{{ $errors->first('module',":message") }}</small>

            
            <div class="input-group mb-3">
              <select class="form-control form-control-sm" name="module">
              @foreach(EF::getModuleList() as $rows)
                <option value="{{$rows}}">{{$rows}}</option>
              @endforeach
            </select>
            </div>
          </div>

          <div class="col-sm-12">
            <label class="label-color"> Feature Name:</label>
            <small class="form-errors pull-right req" value="*">{{ $errors->first('feature',":message") }}</small>

            <div class="input-group mb-3">
              
              {{Form::Text('feature', '', ['class' => 'form-control form-control-sm  cls_fullname', 'placeholder' => 'Feature' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])}}
            </div>
          </div>

        
        </div>  
          </div>
        </div>
     
         
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary cls_submit" content="create  permission">Create Permission</button>
      </div>
    </div>
  </div>
  {{ Form::close() }}
</div>
<!-- END PERMISSION MODEL -->
