Sha256: c5656e48e4fe86a4b6e222a9b68feebd25ca882f4b1cdb1570ae9e9d2c863483
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title><%%= "Área administrativa - #{ yield(:title) }" %></title> <%%= stylesheet_link_tag 'application' %> <%%= javascript_include_tag :defaults %> <%%= yield(:head) %> <%%= csrf_meta_tag %> </head> <body> <div class="top_nav"> <%% if logged_in? %> <%%= current_<%= user_singular_name %>.username %> | <%%= current_<%= user_singular_name %>.email %> | <%%= link_to "» Sair", logout_path, :class => 'logout' %> <%% else %> <%%= link_to "» Entrar", login_path, :class => 'login' %> <%% end %> </div> <div id="header"> <%%= link_to image_tag("logo.png"), admin_home_url %> </div> <div id="container"> <div id="sidenav"> <%%= render "layouts/menu" %> </div> <div id="main"> <div class="box-header"> <%% if show_title? %> <h2><%%= yield(:title) %></h2> <%% end %> </div> <div class="box"> <%%= raw flash_messages %> <%%= yield %> </div> </div> </div> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flexi_generators-0.2.10 | lib/generators/flexi/auth/templates/views/erb/application.html.erb |