formatear correctamente el formulario de registro de inquilinos

This commit is contained in:
Eduardo Quiros 2022-07-19 19:23:36 -06:00
parent 4c812dce5d
commit 6a69546f21
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 13 additions and 14 deletions

View File

@ -1,3 +1,4 @@
import { Dropdown } from 'primereact/dropdown';
import { InputText } from 'primereact/inputtext' import { InputText } from 'primereact/inputtext'
import React, { useEffect, useState } from 'react' import React, { useEffect, useState } from 'react'
@ -41,8 +42,7 @@ const Inquilinos = () => {
<div className="grid"> <div className="grid">
<div className="col-12"> <div className="col-12">
<div className="card"> <div className="card">
<h5 className="card-header">Registrar inquilino</h5> <h5 className="card-header">Registrar Inquilino</h5>
<div className="card-body">
<div className="p-fluid formgrid grid"> <div className="p-fluid formgrid grid">
<div className="p-field col-12 md:col-6"> <div className="p-field col-12 md:col-6">
<label htmlFor="correo_electronico">Correo electrónico</label> <label htmlFor="correo_electronico">Correo electrónico</label>
@ -50,7 +50,7 @@ const Inquilinos = () => {
</div> </div>
<div className="p-field col-12 md:col-6"> <div className="p-field col-12 md:col-6">
<label htmlFor="numero_vivienda">Número de Vivienda</label> <label htmlFor="numero_vivienda">Número de Vivienda</label>
<InputText type="text" className="form-control" id="numero_vivienda" /> <Dropdown id="numero_vivienda" value={communityIdList[0]} options={communitiesList} />
</div> </div>
</div> </div>
<button type="button" className="btn btn-primary" onClick={registrarInquilino}> <button type="button" className="btn btn-primary" onClick={registrarInquilino}>
@ -59,7 +59,6 @@ const Inquilinos = () => {
</div> </div>
</div> </div>
</div> </div>
</div>
) )
} }