From b65549d1e2f7df62c9f941ed92b00759351e0c5f Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 9 Oct 2015 21:04:00 +0200 Subject: Use ajax to get member and song subforms. This instead of hard coding them in javascript. We will need the forms as ruby/erb templates anyways so no need to keep them two places. --- views/member.erb | 23 +++++++++++++++++++++++ views/song.erb | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 views/member.erb create mode 100644 views/song.erb (limited to 'views') diff --git a/views/member.erb b/views/member.erb new file mode 100644 index 0000000..1e6e78e --- /dev/null +++ b/views/member.erb @@ -0,0 +1,23 @@ +
+

+ Medlem nr. <%= member_number %> + +

+
+ + +
+
+ + +
+
+ + +
+
diff --git a/views/song.erb b/views/song.erb new file mode 100644 index 0000000..a217d97 --- /dev/null +++ b/views/song.erb @@ -0,0 +1,48 @@ +
+

+ Låt nr <%= song_number %> + +

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
-- cgit v1.2.3