Reformat form.gohtml with IntelliJ
This commit is contained in:
parent
5e01965d7e
commit
b30aeb5d49
|
@ -97,7 +97,9 @@
|
|||
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.ToggleField*/ -}}
|
||||
<fieldset class="input{{ if .Errors }} has-errors{{ end }}" is="numerus-toggle">
|
||||
<legend>{{ .Label }}</legend>
|
||||
<label><input type="radio" name="{{ .Name }}" value="{{ .FirstOption.Value }}" {{ if eq .Selected .FirstOption.Value}}checked{{ end }}> {{ .FirstOption.Label }}</label>
|
||||
<label><input type="radio" name="{{ .Name }}" value="{{ .SecondOption.Value }}" {{ if eq .Selected .SecondOption.Value}}checked{{ end }}> {{ .SecondOption.Label }}</label>
|
||||
<label><input type="radio" name="{{ .Name }}" value="{{ .FirstOption.Value }}"
|
||||
{{ if eq .Selected .FirstOption.Value }}checked{{ end }}> {{ .FirstOption.Label }}</label>
|
||||
<label><input type="radio" name="{{ .Name }}" value="{{ .SecondOption.Value }}"
|
||||
{{ if eq .Selected .SecondOption.Value }}checked{{ end }}> {{ .SecondOption.Label }}</label>
|
||||
</fieldset>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue