summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-11-01 15:55:50 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-11-01 15:55:50 +0100
commit57a52a31486ec9af415d6d5b86a20a4a62abf488 (patch)
tree2140f42c77202e72b38506bb27c956e5053bb15e /views
parentf8474216b3c4aa9aad4db2b275fe7d26bd42d074 (diff)
downloadnorsk-urskog-registrations-57a52a31486ec9af415d6d5b86a20a4a62abf488.tar.gz
norsk-urskog-registrations-57a52a31486ec9af415d6d5b86a20a4a62abf488.tar.bz2
norsk-urskog-registrations-57a52a31486ec9af415d6d5b86a20a4a62abf488.zip
Fix numbering of song forms.
Diffstat (limited to 'views')
-rw-r--r--views/index.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/index.erb b/views/index.erb
index f031838..65b8653 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -84,7 +84,7 @@
<h3>Låter</h3>
<% @band.songs.each_index do |i| %>
- <%= erb :song, layout: false, locals: { song_number: i, song: @band.songs[i] } %>
+ <%= erb :song, layout: false, locals: { song_number: i + 1, song: @band.songs[i] } %>
<% end %>
</div>