Sha256: 120641ae757b3bd681b30e848f188294302005cd00037048bc8f6d92713afd0d
Contents?: true
Size: 1.24 KB
Versions: 22
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
22 entries across 22 versions & 1 rubygems