Fix not direct child issue

This commit is contained in:
Crow Crowcrow 2017-08-29 12:58:02 +02:00
parent c7ac15a287
commit b9c3769189
3 changed files with 29 additions and 5 deletions

View file

@ -25,7 +25,9 @@
<input name="birth_date" type="date" value="{{ $p.BirthDate.Format "2006-01-02" }}">
{{ range $p.Languages }}
<group name="[]languages">
<input name="language" type="text" value="{{ .Language }}">
<label>
<input name="language" type="text" value="{{ .Language }}">
</label>
<input name="native" type="checkbox" {{ if .Native }} checked {{ end }}>
<input name="skill_level" type="number" value="{{ .SkillLevel }}">
</group>