Skip to content

Instantly share code, notes, and snippets.

@luisdavid919
Created August 12, 2018 05:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luisdavid919/ae87c988fcc23a4f4d3ba11e274b2fe7 to your computer and use it in GitHub Desktop.
Save luisdavid919/ae87c988fcc23a4f4d3ba11e274b2fe7 to your computer and use it in GitHub Desktop.
<form action="insert.php" method="post" autocomplete="on">
<div class="row">
<div class="form-group col-3">
<label for="folio"><strong>Folio:</strong></label>
<input type="text" class="form-control" value="" name="folio" id="folio" readonly>
</div>
<div class="form-group col-3">
<label for="date"><strong>Seleccione Fecha:</strong></label>
<input type="date" class="form-control" name="fecha" step="1" id="today" min="2018-08-06" value="" required>
</div>
<div class="form-group col-3">
<label for="time"><strong>Seleccione Hora:</strong> (formato 24hrs)</label>
<input type="time" class="form-control" name="hora" step="1" id="hora" value="" required>
</div>
<div class="form-group col-3">
<label for="puerta"><strong>Ingrese número de puerta:</strong></label>
<input type="number" class="form-control" name="puerta" id="puerta" value="" min="1" max="50" required>
</div>
</div>
<div class="row">
<div class="form-group col-6">
<label for="nombre"><strong>Guardia:</strong></label>
<input type="text" class="form-control" placeholder="" name="guardia" id="guardia" required>
</div>
<div class="form-group col-6">
<label for="id"><strong>Ingrese su ID:</strong></label>
<input type="text" class="form-control" placeholder="Ingrese su ID" name="id" id="id" required>
</div>
</div>
<div class="form-check">
<label for="tipo"><strong>Seleccione el Tipo de Viaje:</strong></label><br>
<label class="form-check-label">
<input type="radio" onclick="javascript:yesnoCheck();" name="yesno" id="noCheck" class="form-check-input" value="individual" required>Individual
</label><br>
<label class="form-check-label">
<input type="radio" onclick="javascript:yesnoCheck();" name="yesno" id="yesCheck" class="form-check-input" value="compartido">Compartido
</label>
<div id="ifYes" style="display:none">
<div class="row">
<div class="form-group col-4 border-warning1">
<label for="pasajero"><strong>Ingrese Nombre Pasajero Extra 1:</strong></label>
<input type="text" class="form-control" name="pas1" id="pas1" required>
<label for="id1"><strong>Ingrese su ID:</strong></label>
<input type="text" class="form-control" name="id1" id="id1" required>
<br>
</div>
<div class="form-group col-4 pasa2 border-success1">
<label for="pasajero"><strong>Ingrese Nombre Pasajero Extra 2:</strong></label>
<input type="text" class="form-control" name="pas2" id="pas2">
<label for="id2"><strong>Ingrese su ID:</strong></label>
<input type="text" class="form-control" name="id2" id="id2">
</div>
<div class="form-group col-4 border-info1">
<label for="pasajero"><strong>Ingrese Nombre Pasajero Extra 3:</strong></label>
<input type="text" class="form-control" name="pas3" id="pas3">
<label for="id3"><strong>Ingrese su ID:</strong></label>
<input type="text" class="form-control" name="id3" id="id3">
</div>
</div>
</div></div>
<div class="row">
<div class="form-group col-4">
<label for="trabajador"><strong>Nombre:</strong></label>
<input type="text" class="form-control" name="trabajador" id="trabajador" required>
</div>
<div class="form-group col-4">
<label for="jefe"><strong>Autoriza:</strong></label>
<input type="text" class="form-control" name="jefe" id="jefe" required>
</div>
<div class="form-group col-4">
<label for="destino"><strong>Destino:</strong></label>
<input type="text" class="form-control" name="destino" id="destino" required>
</div>
<div class="form-group col-6">
<label for="tax"><strong>Placas de Taxi:</strong></label>
<input type="text" class="form-control" name="tax" id="tax" required>
</div>
<div class="form-group col-6">
<label for="motivo"><strong>Motivo:</strong></label>
<input type="text" class="form-control" name="motivo" id="motivo" required>
</div>
</div>
<!--<div class="container-fluid">-->
<div class="row">
<p class="text-center col-4"><a href="#" onclick="history.go(-1);" class="btn btn-info btn-lg">Atrás</a></p>
<div class="text-center col-4">
<button class="btn btn-success btn-lg" type="submit" value="submit">Enviar</button>
</div>
<div class="text-center col-4">
<input type="reset" value="Limpiar" class="btn btn-outline-warning btn-lg">
</div>
</div>
<!--</div>-->
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment