
<div class="modal fade" id="md_add_scale" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  {{ Form::open(array('route' => 'scale.store', 'class' => 'cls_form', 'id' => 'form_add_scale')) }}
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Add Scale</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-6">
               <label class="label-color"> Code: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*">{{ $errors->first('code',":message") }}</small>
            <div class="input-group mb-3">
             
              {{Form::Text('code', '', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => 'Code', 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])}}
            </div>
          </div>

          <div class="col-sm-6">
               <label class="label-color"> Title: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*">{{ $errors->first('title',":message") }}</small>

            <div class="input-group mb-3">
            
              {{Form::Text('title', '', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => 'Title' , '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="add scale">Add Scale</button>
      </div>
    </div>
  </div>
  {{ Form::close() }}
</div>