Sha256: 20906d70c2157911b6959cb1682c62128741164c3b58b89364fabf3f2a60fe67

Contents?: true

Size: 622 Bytes

Versions: 88

Compression:

Stored size: 622 Bytes

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>Devise Test App</title>
  </head>
  <body>
    <div id="container">
      <%- flash.each do |name, msg| -%>
        <%= content_tag :div, msg, :id => "flash_#{name}" %>
      <%- end -%>

      <% if user_signed_in? -%>
        <p>Hello User <%= current_user.email %>! You are signed in!</p>
      <% end -%>

      <% if admin_signed_in? -%>
        <p>Hello Admin <%= current_admin.email %>! You are signed in!</p>
      <% end -%>

      <%= yield %>
    </div>
  </body>
</html>

Version data entries

88 entries across 82 versions & 11 rubygems

Version Path
devise-3.2.3 test/rails_app/app/views/layouts/application.html.erb
devise-3.2.2 test/rails_app/app/views/layouts/application.html.erb
devise-3.2.1 test/rails_app/app/views/layouts/application.html.erb
devise-3.1.2 test/rails_app/app/views/layouts/application.html.erb
devise-3.0.4 test/rails_app/app/views/layouts/application.html.erb
devise-2.2.8 test/rails_app/app/views/layouts/application.html.erb
devise-3.2.0 test/rails_app/app/views/layouts/application.html.erb
devise-3.1.1 test/rails_app/app/views/layouts/application.html.erb
devise-3.1.0 test/rails_app/app/views/layouts/application.html.erb
devise-2.0.6 test/rails_app/app/views/layouts/application.html.erb
devise-2.1.4 test/rails_app/app/views/layouts/application.html.erb
devise-2.2.7 test/rails_app/app/views/layouts/application.html.erb
devise-3.0.3 test/rails_app/app/views/layouts/application.html.erb
devise-3.1.0.rc2 test/rails_app/app/views/layouts/application.html.erb
devise-2.2.6 test/rails_app/app/views/layouts/application.html.erb
devise-3.0.2 test/rails_app/app/views/layouts/application.html.erb
devise-3.0.1 test/rails_app/app/views/layouts/application.html.erb
devise-2.2.5 test/rails_app/app/views/layouts/application.html.erb
loyal_devise-2.1.7 test/rails_app/app/views/layouts/application.html.erb
loyal_devise-2.1.6 test/rails_app/app/views/layouts/application.html.erb