<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">Actualizar divisa</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('divisas/'.$data['divisa']->id) }}" id="updateform" onsubmit="updatingform(this); return false">
				<input type="hidden" name="action" value="form">
				<div class="row"> 
					<div class="col-4">
						<input type="text" class="form-control"  id="input-cont" name="divisa" placeholder="divisa" required="" value="{{ $data['divisa']->divisa }}">
					</div>
					<div class="col-4">
						<input type="text" class="form-control"  id="input-cont" name="venta" placeholder="Venta" required="" value="{{ $data['divisa']->venta }}">
					</div>
					<div class="col-4">
						<input type="text" class="form-control"  id="input-cont" name="compra" placeholder="Compra" required="" value="{{ $data['divisa']->compra }}">
					</div>
				</div>
				<hr>
				<div class="row justify-content-center">
					<div class="col-4 text-right">
						<br>
						<button class="btn btn-primary" > <i class="icon-rotate-cw2 "></i> Actualizar</button>
					</div>
					<div class="col-4 ">
						<br>
						<a href="#"  data-method="POST"  data-action="reload_divisa" onclick="search_divisa(this); return false" class="btn btn-warning">Buscar Divisa</a>
					</div>
				</div>
			</form>

      </div>

    </div>
  </div>
</div>