summaryrefslogblamecommitdiffstats
path: root/views/member.erb
blob: 1e6e78e6887dc9d5785eb97b471795743c37443f (plain) (tree)






















                                                                                    
<div class="member-info">
    <h4>
        Medlem nr. <%= member_number %>
        <input type="button" name="delete" data-member="<%= member_number %>"
               class="delete-member-button" value="X">
    </h4>
    <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]">
    </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]">
    </div>
    <div class="field class optional">
        <label for="band-member-<%= member_number %>-age">Alder:</label>
        <input type="text" for="band-member-<%= member_number %>-age"
               name="band[members][<%= member_number %>][age]"
               size="3" pattern="[0-9]{1,2}">
    </div>
</div>