diff options
Diffstat (limited to 'views/member.erb')
-rw-r--r-- | views/member.erb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/views/member.erb b/views/member.erb index 1e6e78e..f618f89 100644 --- a/views/member.erb +++ b/views/member.erb @@ -7,17 +7,20 @@ <div class="field text required"> <label for="band-member-<%= member_number %>-name">Navn:</label> <input type="text" id="band-member-<%= member_number %>-name" - name="band[members][<%= member_number %>][name]"> + name="band[members][<%= member_number %>][name]" + value="<%= member.name %>"> </div> <div class="field text optional"> <label for="band-member-<%= member_number %>-instrument">Instrument:</label> <input type="text" id="band-member-<%= member_number %>-instrument" - name="band[members][<%= member_number %>][instrument]"> + name="band[members][<%= member_number %>][instrument]" + value="<%= member.instrument %>"> </div> <div class="field class optional"> <label for="band-member-<%= member_number %>-age">Alder:</label> - <input type="text" for="band-member-<%= member_number %>-age" + <input type="text" id="band-member-<%= member_number %>-age" name="band[members][<%= member_number %>][age]" - size="3" pattern="[0-9]{1,2}"> + size="3" pattern="[0-9]{1,2}" + value="<%= member.age %>"> </div> </div> |