Sha256: fff04e17f05dbcdf2e4e522a99da8e2ae46c99e02c5c9fbbeaada8b1761dd5c5

Contents?: true

Size: 619 Bytes

Versions: 43

Compression:

Stored size: 619 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

43 entries across 43 versions & 8 rubygems

Version Path
devise-4.5.0 test/rails_app/app/views/layouts/application.html.erb
devise-4.4.3 test/rails_app/app/views/layouts/application.html.erb
devise-4.4.2 test/rails_app/app/views/layouts/application.html.erb
devise-4.4.1 test/rails_app/app/views/layouts/application.html.erb
devise-4.4.0 test/rails_app/app/views/layouts/application.html.erb
devise-4.3.0 test/rails_app/app/views/layouts/application.html.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/devise-4.2.1/test/rails_app/app/views/layouts/application.html.erb
devise-4.2.1 test/rails_app/app/views/layouts/application.html.erb
devise_openid_authenticatable-1.3.0 rails/app/views/layouts/application.html.erb
devise-4.2.0 test/rails_app/app/views/layouts/application.html.erb
devise-3.5.10 test/rails_app/app/views/layouts/application.html.erb
devise-4.0.3 test/rails_app/app/views/layouts/application.html.erb
devise-4.1.1 test/rails_app/app/views/layouts/application.html.erb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/devise-4.1.0/test/rails_app/app/views/layouts/application.html.erb
devise-4.1.0 test/rails_app/app/views/layouts/application.html.erb
devise-3.5.9 test/rails_app/app/views/layouts/application.html.erb
devise-4.0.2 test/rails_app/app/views/layouts/application.html.erb
devise-4.0.1 test/rails_app/app/views/layouts/application.html.erb
devise-3.5.8 test/rails_app/app/views/layouts/application.html.erb
devise-3.5.7 test/rails_app/app/views/layouts/application.html.erb