<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Crear Articulo</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
	        <div class="response-data">
				
			</div>
			<form action="{{ url('forpag/'.$data['pag']->id) }}" onsubmit="updatingform(this); return false">
				<div class="row">
					<div class="col-6">
						<input type="text" class="form-control"  id="input-cont" name="codigo" placeholder="Nº codigo" required=""  value="{{ $data['pag']->codigo }}">
					</div>
					<div class="col-6">
						<input type="text" class="form-control"  id="input-cont" name="descripcion" placeholder="Descripcion " required="" value="{{ $data['pag']->descripcion }}">
					</div>
				</div>
				<div class="row">
					<div class="col-12 text-center">
						<br>
						<button class="btn btn-primary"><i class="icon-rotate-cw2 "></i> Actualizar</button>
					</div>
				</div>
			</form>
      </div>
    </div>
  </div>
</div>