summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/index.html.erb5
-rw-r--r--app/views/layouts/admin.html.erb8
2 files changed, 12 insertions, 1 deletions
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
new file mode 100644
index 0000000..0a9874f
--- /dev/null
+++ b/app/views/admin/index.html.erb
@@ -0,0 +1,5 @@
1<h1>Admin#index</h1>
2<p>Find me in app/views/admin/index.html.erb</p>
3
4
5<%= link_to 'nodes', :controller => :nodes, :action => :index %> \ No newline at end of file
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb
index df5b014..deebc66 100644
--- a/app/views/layouts/admin.html.erb
+++ b/app/views/layouts/admin.html.erb
@@ -24,6 +24,12 @@
24 </head> 24 </head>
25 25
26 <body> 26 <body>
27 <%= yield :layout %> 27 <div id="navigation">
28 <p><%= I18n.locale %></p>
29 <%= language_selector %>
30 </div>
31 <div id="content">
32 <%= yield :layout %>
33 </div>
28 </body> 34 </body>
29</html> 35</html>