<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 evento</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('eventos_operation/'.$data['evento']->id) }}" id="updateform" onsubmit="updatingform(this); return false">
				<input type="hidden" name="action" value="form">
				<div class="row"> 
					<div class="col-12">
						<input type="text" class="form-control"  id="input-cont" name="nombre" placeholder="Nombre del evento" required="" value="{{ $data['evento']->nombre }}">
					</div>
					<div class="col-12">
						<textarea name="descripcion"  class="form-control">{{ $data['evento']->descripcion }}</textarea>
					</div>
					<div class="col-12">
						<input type="text" class="form-control"  id="fecha2" name="fecha" placeholder="yyyy/mm/dd" required="" value="{{ $data['evento']->fecha }}">
					</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>
			</form>
      </div>
    </div>
  </div>
</div>
<script>
	$.fn.datepicker.defaults.format = "yyyy-mm-dd";
	$('#fecha2').datepicker({
		weekStart: 1,
		daysOfWeekHighlighted: "6,0",
		autoclose: true,
		todayHighlight: true,
	});
</script>