From f332a3191ad182e58fca2675b597245b78f2bd21 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 29 Jul 2013 17:34:29 +0800 Subject: [PATCH] Fiix layout for safari --- app/views/layouts/_side_bar.html.erb | 4 +--- app/views/layouts/_side_bar_content.html.erb | 14 ++++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/layouts/_side_bar.html.erb b/app/views/layouts/_side_bar.html.erb index be4b540e..6837e875 100644 --- a/app/views/layouts/_side_bar.html.erb +++ b/app/views/layouts/_side_bar.html.erb @@ -2,8 +2,6 @@

<%= link_to content_tag(:i, nil, :class => (local_assigns.has_key? :icon) ? icon : 'icons-gauge'), (local_assigns.has_key? :link_url) ? link_url : admin_dashboards_path %>

- + <%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %> \ No newline at end of file diff --git a/app/views/layouts/_side_bar_content.html.erb b/app/views/layouts/_side_bar_content.html.erb index 270566a3..931b9506 100644 --- a/app/views/layouts/_side_bar_content.html.erb +++ b/app/views/layouts/_side_bar_content.html.erb @@ -1,9 +1,11 @@ -
- +