Add PreviousParticipantsSelection
This commit is contained in:
parent
c9ffc3f898
commit
d3f040da33
3 changed files with 16 additions and 2 deletions
|
@ -57,6 +57,8 @@ type School struct {
|
||||||
ContestDirectorLastname string
|
ContestDirectorLastname string
|
||||||
ContestDirectorFirstname string
|
ContestDirectorFirstname string
|
||||||
|
|
||||||
|
PreviousParticipantsSelection uint
|
||||||
|
|
||||||
UserID uint
|
UserID uint
|
||||||
RegionID RegionID `schema:"region_id"`
|
RegionID RegionID `schema:"region_id"`
|
||||||
|
|
||||||
|
|
|
@ -104,11 +104,18 @@
|
||||||
{{template "input" dict "options" ($options|yaml) "value" (.Data|field "ContestDirectorFirstname") "update" $update}}
|
{{template "input" dict "options" ($options|yaml) "value" (.Data|field "ContestDirectorFirstname") "update" $update}}
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{{$options := ` { name: "ContestDirectorLastname",id: "school_contest_director_lastname",label: "Cognome del responsabile di gara",placeholder: "Inserire il cognome del responsabile di gara",type: "text",required: "true"} `}}
|
{{$options := ` { name: "ContestDirectorLastname",id: "school_contest_director_lastname",label: "Cognome del responsabile di gara",placeholder: "Inserire il cognome del responsabile di gara",type: "text",required: "true"} `}}
|
||||||
{{template "input" dict "options" ($options|yaml) "value" (.Data|field "ContestDirectorLastname") "update" $update}}
|
{{template "input" dict "options" ($options|yaml) "value" (.Data|field "ContestDirectorLastname") "update" $update}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="col">
|
||||||
|
{{$options := ` { name: "PreviousParticipantsSelection",id: "school_previous_participants_selection",label: "Indicare il numero complessivo degli studenti nell'ambito del quale sono stati selezionati il candidato JUNIOR e il candidato SENIOR dell'Istituto",placeholder: "Indicare il numero complessivo degli studenti",type: "number",required: "true"} `}}
|
||||||
|
{{template "input" dict "options" ($options|yaml) "value" (.Data|field "PreviousParticipantsSelection") "update" $update}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{if ne (env "OEF_REGRESSION_TEST") "1"}}
|
{{if ne (env "OEF_REGRESSION_TEST") "1"}}
|
||||||
{{if .Claims|isSubscriber}}
|
{{if .Claims|isSubscriber}}
|
||||||
{{$captcha := genCaptcha}}
|
{{$captcha := genCaptcha}}
|
||||||
|
|
|
@ -60,6 +60,11 @@
|
||||||
|
|
||||||
<dt class="col-sm-3">Referente di sede</dt><dd class="col-sm-9">{{.Data.SchoolContactPersonLastname}} {{.Data.SchoolContactPersonFirstname}} (<a href="mailto:{{.Data.SchoolContactPersonEmail}}">{{.Data.SchoolContactPersonEmail}}</a>, {{.Data.SchoolContactPersonTelephoneNumber}})</dd>
|
<dt class="col-sm-3">Referente di sede</dt><dd class="col-sm-9">{{.Data.SchoolContactPersonLastname}} {{.Data.SchoolContactPersonFirstname}} (<a href="mailto:{{.Data.SchoolContactPersonEmail}}">{{.Data.SchoolContactPersonEmail}}</a>, {{.Data.SchoolContactPersonTelephoneNumber}})</dd>
|
||||||
<dt class="col-sm-3">Responsabile di gara</dt><dd class="col-sm-9">{{.Data.ContestDirectorLastname}} {{.Data.ContestDirectorFirstname}}</dd>
|
<dt class="col-sm-3">Responsabile di gara</dt><dd class="col-sm-9">{{.Data.ContestDirectorLastname}} {{.Data.ContestDirectorFirstname}}</dd>
|
||||||
|
|
||||||
|
<dt class="col-sm-3">
|
||||||
|
Numero di studenti complessivo dal quale sono stati
|
||||||
|
selezionati i candidati per le prove regionali
|
||||||
|
</dt><dd class="col-sm-9">{{.Data.PreviousParticipantsSelection}}</dd>
|
||||||
|
|
||||||
{{if $isAdmin}}
|
{{if $isAdmin}}
|
||||||
{{if $creatorUser:=.Data.CreatedBy}}
|
{{if $creatorUser:=.Data.CreatedBy}}
|
||||||
|
|
Loading…
Reference in a new issue