|
|
@ -12,9 +12,9 @@
|
|
|
|
<label for="voter">Voter</label>
|
|
|
|
<label for="voter">Voter</label>
|
|
|
|
<select id="voter" name="voter">
|
|
|
|
<select id="voter" name="voter">
|
|
|
|
{{ range .Form.Voters }}
|
|
|
|
{{ range .Form.Voters }}
|
|
|
|
{{ if not (eq .ID $user.ID) }}
|
|
|
|
{{ if ne .ID $user.ID }}
|
|
|
|
<option value="{{ .ID }}"
|
|
|
|
<option value="{{ .ID }}"
|
|
|
|
{{ if eq .ID $form.VoterID }} selected{{ end }}>{{ .Name }}</option>
|
|
|
|
{{ if $form.Voter }}{{ if eq .ID $form.Voter.ID }} selected{{ end }}{{ end }}>{{ .Name }}</option>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|