
<div class="modal fade" id="createModal" 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 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') }}" id="addform" onsubmit="createform(this); return false">
				<input type="hidden" name="action" value="add">
				<div class="row">
					<div class="col-4">
						<input type="text" class="form-control"  id="input-cont" name="divisa" placeholder="divisa" required="">
					</div>
					<div class="col-4">
						<input type="text" class="form-control"  id="input-cont" name="venta" placeholder="Venta" required="">
					</div>
					<div class="col-4">
						<input type="text" class="form-control"  id="input-cont" name="compra" placeholder="Compra" required="">
					</div>
				</div>
				<hr>
				<div class="row justify-content-center">
					<div class="col-4 text-right">
						<br>
						<button class="btn btn-primary" form="addform"><i class="icon-floppy-disk "></i> Guardar</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>