Fix adding group limits when creating supervisor
This commit is contained in:
parent
0a7dd7e364
commit
5d999ea9c8
@ -101,13 +101,12 @@ const AddLeader = () => {
|
|||||||
<InputError>Email jest wymagany</InputError>
|
<InputError>Email jest wymagany</InputError>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{/* <div className="form-control">
|
<div className="form-control">
|
||||||
<label className="label" htmlFor="limit_group">
|
<label className="label" htmlFor="limit_group">
|
||||||
Limit grup
|
Limit grup
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
className="input input-bordered"
|
className="input input-bordered"
|
||||||
value="3"
|
|
||||||
id="limit_group"
|
id="limit_group"
|
||||||
type="text"
|
type="text"
|
||||||
{...register('limit_group', {
|
{...register('limit_group', {
|
||||||
@ -118,7 +117,7 @@ const AddLeader = () => {
|
|||||||
{errors.limit_group?.type === 'pattern' && (
|
{errors.limit_group?.type === 'pattern' && (
|
||||||
<InputError>Limit grup musi być liczbą dodatnią</InputError>
|
<InputError>Limit grup musi być liczbą dodatnią</InputError>
|
||||||
)}
|
)}
|
||||||
</div> */}
|
</div>
|
||||||
<button className="btn btn-success mt-4">Dodaj opiekuna</button>
|
<button className="btn btn-success mt-4">Dodaj opiekuna</button>
|
||||||
</form>
|
</form>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user