Fix proxy_vote nil pointer dereference
This commit is contained in:
parent
dbf774b727
commit
3dc3160945
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@
|
|||
<label for="voter">Voter</label>
|
||||
<select id="voter" name="voter">
|
||||
{{ range .Form.Voters }}
|
||||
{{ if not (eq .ID $user.ID) }}
|
||||
{{ if ne .ID $user.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 }}
|
||||
</select>
|
||||
|
|
Loading…
Reference in a new issue