fixed layout structure in signup layout

This commit is contained in:
Harry Bomrah 2014-07-28 21:46:36 +08:00
parent cc54f7f908
commit 58bcf69940
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
<%= csrf_meta_tag %> <%= csrf_meta_tag %>
</head> </head>
<body> <body>
<%= render 'layouts/orbit_bar_backend' %> <%= render_orbit_bar %>
<%= yield %> <%= yield %>
</body> </body>
</html> </html>

View File

@ -12,7 +12,7 @@
<%= csrf_meta_tag %> <%= csrf_meta_tag %>
</head> </head>
<body id="users"> <body id="users">
<%= render_orbit_bar %> <%= render_orbit_bar unless @no_orbit_bar %>
<% if !(yield :side_bar).blank? %> <% if !(yield :side_bar).blank? %>
<%= yield :side_bar %> <%= yield :side_bar %>
<% else %> <% else %>

View File

@ -12,7 +12,7 @@
<%= csrf_meta_tag %> <%= csrf_meta_tag %>
</head> </head>
<body id="users"> <body id="users">
<%= render 'layouts/orbit_bar_backend' unless @no_orbit_bar %> <%= render_orbit_bar unless @no_orbit_bar %>
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:user), :link_url => admin_site_site_info_path(site_id: current_site.id), :icon => 'icons-users', :side_bar_content => 'admin/members/side_bar'} %> <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:user), :link_url => admin_site_site_info_path(site_id: current_site.id), :icon => 'icons-users', :side_bar_content => 'admin/members/side_bar'} %>
<section id="main-wrap"> <section id="main-wrap">
<div class="wrap-inner"> <div class="wrap-inner">