Sha256: 5497870674ab1c6c6f2b891ab81ee25889a9c8a3f2410013772784e0329e16f1

Contents?: true

Size: 911 Bytes

Versions: 1

Compression:

Stored size: 911 Bytes

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title><%= controller.controller_name %>: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
</head>
<body>

<% if @company %><h1><%= @company.name %></h1><% end %>

<% if !@current_user %>
  <%= link_to "Register", scoped_url("new_account_path") %> |
  <%= link_to "Log In", scoped_url("new_user_session_path") %>
<% else %>
  <%= link_to "My Account", scoped_url("account_path") %> |
  <%= link_to "Logout", scoped_url("user_session_path"), :method => :delete, :confirm => "Are you sure you want to logout?" %>
<% end %>

<p style="color: green"><%= flash[:notice] %></p>

<%= yield  %>

</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authlogic-0.10.4 test_app/app/views/layouts/application.html.erb