File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 class= " list-group-item list-group-item-action p-3"
1313 href= " /results/{{ $poll.Id }}"
1414 >
15- <span><strong>
16- {{ $poll .Title }}
17- </strong></ span>
15+ <span>
16+ <strong> {{ $poll .Title }}</strong>
17+ </span>
1818
19- <span
20- > <i>(created by {{ $poll .CreatedBy }})</i></span
21- >
19+ <span>
20+ <i>(created by {{ $poll .CreatedBy }})</i>
21+ </span >
2222 </a>
2323 </li>
2424 {{ end }}
Original file line number Diff line number Diff line change 2424 </div>
2525 <br/>
2626 {{ end }}
27- <button type= " submit" class= " btn btn-primary" >Submit</button>
27+ <button type= " submit" class= " btn btn-primary mt-2 " >Submit</button>
2828 </form>
2929 {{ end }}
3030 </div>
Original file line number Diff line number Diff line change 3535 {{/* Displays information about required quorum and number of voters */ }}
3636 <div id= " quorum-info" >
3737 <h6>Number of Eligible Voters: {{ len .EligibleVoters }}</h6>
38+ <h6>Votes Cast: {{ .NumVotes }}</h6>
39+ <br class= " lh-1" />
3840 <div id= " votes-needed-for-quorum" >
3941 {{/* This works currently because quorum type can only be set if gatekeep is required */ }}
4042 {{ if not .Gatekeep }}
4143 <h6>No quorum required for this poll. </h6>
42- <h6>Votes Cast: {{ .NumVotes }}</h6>
4344 {{ else }}
4445 <h6>Quorum Type: {{ .Quorum }}%</h6>
4546 <h6>Votes Needed For Quorum: {{ .VotesNeededForQuorum }}</h6>
46- <h6>Votes Cast: {{ .NumVotes }}</h6>
4747 {{ end }}
4848 <br/>
4949 <br/>
You can’t perform that action at this time.
0 commit comments