summaryrefslogtreecommitdiff
path: root/app/views/person/_nav.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/person/_nav.rhtml')
-rw-r--r--app/views/person/_nav.rhtml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/person/_nav.rhtml b/app/views/person/_nav.rhtml
new file mode 100644
index 0000000..bcde756
--- /dev/null
+++ b/app/views/person/_nav.rhtml
@@ -0,0 +1,11 @@
+<div>
+ <p>
+ <strong>Navigation:</strong>
+ <%= link_to "Locations", :action => "list", :controller => "location" %> |
+ <%= link_to "Persons", :action => 'list', :controller => 'person' %> <br />
+ <strong>Benutzer:</strong>
+ <%= link_to session[:person].email , :action => 'show', :controller => 'person', :id => session[:person].id %> |
+ <%= link_to 'Logout', :action => 'logout', :controller => 'person' %>
+ </p>
+</div>
+<hr />