-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddEditClientes.php
21 lines (20 loc) · 1.03 KB
/
AddEditClientes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
// Este archivo contiene el formulario para crear y editar clientes.
?>
<form method="post" class="row g-3 p-4 bg-light border rounded">
<input type="hidden" id="id" name="id">
<div class="mb-3">
<label for="nombre" class="form-label">Nombre</label>
<input type="text" class="form-control" id="nombre" name="nombre" required>
</div>
<div class="mb-3">
<label for="direccion" class="form-label">Dirección</label>
<input type="text" class="form-control" id="direccion" name="direccion">
</div>
<div class="mb-3">
<label for="telefono" class="form-label">Teléfono</label>
<input type="text" class="form-control" id="telefono" name="telefono" maxlength="10" pattern="\d{10}" title="Debe ingresar exactamente 10 dígitos">
</div>
<button type="submit" class="btn btn-primary" id="submit-button" name="crear-cliente">Create</button>
<a href="Clientes.php" class="btn btn-secondary">Cancelar</a>
</form>