|
@@ -34,6 +34,9 @@
|
|
|
{{$options := ` { name: "supply_teacher_id", id: "supply_teacher_id", label: "Docente supplente", title: "Seleziona il docente"}`}}
|
|
|
{{template "select" dict "options" ($options|yaml) "data" (.Data|field "AllTeachers") "selected" (.Data|field "SelectedSupplyTeacher") "update" $update "form" $form}}
|
|
|
|
|
|
+ {{$options := ` { name: "student_id", id: "student_id", label: "Studente", title: "Seleziona lo studente"}`}}
|
|
|
+ {{template "select" dict "options" ($options|yaml) "data" (.Data|field "AllStudents") "selected" (.Data|field "SelectedStudent") "update" $update "form" $form}}
|
|
|
+
|
|
|
{{$options := ` { name: "Hours",id: "hours",label: "Numero di ore",type: "number",required: "true"} `}}
|
|
|
{{template "input" dict "options" ($options|yaml) "value" (.Data|field "Hours") "update" $update}}
|
|
|
|