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*/ -}}
|
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.ToggleField*/ -}}
|
||||||
<fieldset class="input{{ if .Errors }} has-errors{{ end }}" is="numerus-toggle">
|
<fieldset class="input{{ if .Errors }} has-errors{{ end }}" is="numerus-toggle">
|
||||||
<legend>{{ .Label }}</legend>
|
<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="{{ .FirstOption.Value }}"
|
||||||
<label><input type="radio" name="{{ .Name }}" value="{{ .SecondOption.Value }}" {{ if eq .Selected .SecondOption.Value}}checked{{ end }}> {{ .SecondOption.Label }}</label>
|
{{ 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>
|
</fieldset>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue