mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
refactor: je suis une merde
This commit is contained in:
@ -125,11 +125,11 @@ const ClassForm = ({ onSubmit, isNew, teachers }) => {
|
||||
<div className="space-y-4">
|
||||
<div>
|
||||
<InputTextIcon
|
||||
name="nom_ambiance"
|
||||
name="atmosphere_name"
|
||||
type="text"
|
||||
IconItem={Users}
|
||||
placeholder="Nom de l'ambiance"
|
||||
value={formData.nom_ambiance}
|
||||
value={formData.atmosphere_name}
|
||||
onChange={handleChange}
|
||||
className="w-full"
|
||||
/>
|
||||
|
||||
@ -151,7 +151,7 @@ const ClassesSection = ({ classes, teachers, handleCreate, handleEdit, handleDel
|
||||
<Users className="w-8 h-8 mr-2" />
|
||||
{editingClass ? (
|
||||
<>
|
||||
{editingClass.nom_ambiance} - {editingClass.age_range[0]} à {editingClass.age_range[1]} ans
|
||||
{editingClass.atmosphere_name} - {editingClass.age_range[0]} à {editingClass.age_range[1]} ans
|
||||
</>
|
||||
) : ''}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user