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
devbootsrap-0.0.2 test/rails_app/app/views/layouts/application.html.erb
devbootsrap-0.0.1 test/rails_app/app/views/layouts/application.html.erb
devise-3.2.4 test/rails_app/app/views/layouts/application.html.erb