diff options
| author | hukl <contact@smyck.org> | 2009-04-13 21:18:11 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-13 21:18:11 +0200 |
| commit | 381f45a8364f090fc5ad403b740646cdf4f9ccae (patch) | |
| tree | f71f0f1762e226229a68fb84f4ab736b9ae389cb /app | |
| parent | f756c3baf09d71ff43edda9ae036bd2e325074a4 (diff) | |
streamlining the admin layout
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/layouts/admin.html.erb | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index df48b5a..469b18e 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb | |||
| @@ -29,18 +29,20 @@ | |||
| 29 | </head> | 29 | </head> |
| 30 | 30 | ||
| 31 | <body> | 31 | <body> |
| 32 | <div id="navigation"> | 32 | <div id="wrapper"> |
| 33 | <%= render :partial => 'admin/menu' if current_user %> | 33 | <div id="navigation"> |
| 34 | </div> | 34 | <%= render :partial => 'admin/menu' if current_user %> |
| 35 | <div id="subnavigation"> | 35 | </div> |
| 36 | <%= yield :subnavigation %> | 36 | <div id="subnavigation"> |
| 37 | </div> | 37 | <%= yield :subnavigation %> |
| 38 | <div style="clear: both"></div> | 38 | </div> |
| 39 | <div id="flash"> | 39 | <div style="clear: both"></div> |
| 40 | <%= flash[:notice] %> | 40 | <div id="flash"> |
| 41 | </div> | 41 | <%= flash[:notice] %> |
| 42 | <div id="content"> | 42 | </div> |
| 43 | <%= yield :layout %> | 43 | <div id="content"> |
| 44 | <%= yield :layout %> | ||
| 45 | </div> | ||
| 44 | </div> | 46 | </div> |
| 45 | </body> | 47 | </body> |
| 46 | </html> | 48 | </html> |
