diff --git a/app/views/layouts/_topbar.html.erb b/app/views/layouts/_topbar.html.erb new file mode 100644 index 0000000..ab082cb --- /dev/null +++ b/app/views/layouts/_topbar.html.erb @@ -0,0 +1,26 @@ +
+
+ MuniciPal +
+ + + + +
\ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 49af958..721b676 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -26,36 +26,9 @@ <%= csrf_meta_tags %> <%= yield :head %> - -
-
- MuniciPal -
- - - - -
- + <%= render "layouts/topbar"%> <%= yield %> + <%= render "layouts/footer"%> -<%= render "layouts/footer"%>