forked from goffee/core
improve GetRequestForm, extend templates
This commit is contained in:
parent
a970ada00b
commit
90564daa5b
4 changed files with 9 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{{define "form_checkbox"}}
|
||||
<div class="input-container">
|
||||
<label class="form-label">{{.Label}}</label>
|
||||
{{ if .Label }}<label class="form-label">{{.Label}}</label>{{end}}
|
||||
{{range $options := .AllCheckbox}}
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="{{$options.Name}}" id="{{$options.ID}}" value="{{$options.Value}}"{{if eq $options.IsChecked true}} checked{{end}}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue