From ff7a2f930d58e0cb02ffee76e250a02e6b3c7ce3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 3 Oct 2015 12:56:29 +0200 Subject: Separate out page header and boiler plate into layout. --- views/index.erb | 12 ------------ views/layout.erb | 13 +++++++++++++ 2 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 views/layout.erb (limited to 'views') diff --git a/views/index.erb b/views/index.erb index 1aeb2e5..64a7de3 100644 --- a/views/index.erb +++ b/views/index.erb @@ -1,13 +1,3 @@ - - - - - - - - Norsk Urskog 2015 - Påmeldingsskjema for band - -

Norsk Urskog 2015

Påmeldingsskjema for Band

Felter merket med er obligatoriske og må fylles ut.

@@ -90,5 +80,3 @@ - - diff --git a/views/layout.erb b/views/layout.erb new file mode 100644 index 0000000..a6f8dd8 --- /dev/null +++ b/views/layout.erb @@ -0,0 +1,13 @@ + + + + + + + + Norsk Urskog 2015 - Påmeldingsskjema for band + + + <%= yield %> + + -- cgit v1.2.3