Sha256: 294fa3fc7676a4775a86e821e18d0a96c01e1af823024050714fee695dec48e1
Contents?: true
Size: 1.24 KB
Versions: 13
Compression:
Stored size: 1.24 KB
Contents
<!DOCTYPE html> <html lang="it"> <head> <%= csrf_meta_tags %> <title><%= ( @title ? "#{@title} - " : "" ) + "#{app_name} Admin" %></title> <%= stylesheet_link_tag 'admin/admin' %> <%= yield :stylesheets %> </head> <body> <%= render :partial => 'admin/nav' %> <%= navbar :fluid => true, :fixed => :top do %> <%= brand "#{app_name} Admin", admin_root_path %> <%= yield :menu %> <% end %> <%= yield :crumbs %> <%= container :fluid => true, :class => "main" do %> <%= row do %> <%= span(2, :id => "left-aside") do %> <%= yield :nav %> <% end %> <%= span(content_for?(:aside) ? 6 : 10, :id => "center") do %> <%= yield %> <% end %> <% if content_for?(:aside) %> <%= span(4, :id => "left-aside") do %> <%= yield :aside %> <% end %> <% end %> <% end %> <% end %> <%= javascript_include_tag 'admin/admin' %> <%= yield :javascripts %> <% [:notice, :error, :alert].each do |sym| %> <% if flash[sym].present? %> <%= javascript_tag do %> $.notify.<%= "#{sym}" %>('<%= j "#{flash[sym]}" %>'); <% end %> <% flash.discard(sym) %> <% end %> <% end %> </body> </html>
Version data entries
13 entries across 13 versions & 1 rubygems