Sha256: 8108fdf453862427802d276df06fc3a82c4476487dc8ab958bcfcd89f05f7544

Contents?: true

Size: 438 Bytes

Versions: 5

Compression:

Stored size: 438 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <%= csrf_meta_tag %>
</head>
<body>
  <div id="header">
    <% if signed_in? -%>
      <%= button_to t(".sign_out"), sign_out_path, method: :delete %>
    <% else -%>
      <%= link_to t(".sign_in"), sign_in_path %>
    <% end -%>
  </div>

  <div id="flash">
    <% flash.each do |key, value| -%>
      <div id="flash_<%= key %>"><%=h value %></div>
    <% end %>
  </div>

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
clearance-2.0.0 app/views/layouts/application.html.erb
clearance-2.0.0.beta2 app/views/layouts/application.html.erb
clearance-2.0.0.beta1 app/views/layouts/application.html.erb
clearance-1.17.0 app/views/layouts/application.html.erb
clearance-1.16.2 app/views/layouts/application.html.erb