summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-28 22:10:26 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-10-28 22:10:26 +0100
commit490be24019ac79fb4f0c3292aca8f90ccf95f547 (patch)
tree116706bc4ccef4ca81ee7c8d3bc86579a3203303
parentf2fd8a63112441171c32da19be8e2349628936a7 (diff)
downloadnorsk-urskog-registrations-490be24019ac79fb4f0c3292aca8f90ccf95f547.tar.gz
norsk-urskog-registrations-490be24019ac79fb4f0c3292aca8f90ccf95f547.tar.bz2
norsk-urskog-registrations-490be24019ac79fb4f0c3292aca8f90ccf95f547.zip
Move add member button above member fields.
-rw-r--r--views/index.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/index.erb b/views/index.erb
index f771ca5..0edc6b0 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -59,11 +59,13 @@
<p>Klikk på knappen under for å legge til medlemmene som er med i bandet. Dette er kun til
informasjon for websider, promomateriale og lignende. Har bandmedlemene pseudonymer de
foretrekker å bruke, så kan du bruke dem her.</p>
+
+ <input type="button" name="add_member" value="Legg til medlem" id="add-member-button">
+
<% @band.members.each do |m| %>
<%= erb :member, layout: false, locals: { member_number: 1, member: m } %>
<% end %>
</div>
- <input type="button" name="add_member" value="Legg til medlem" id="add-member-button">
<div id="form-songs" class="fieldgroup">
<h3>Låter</h3>