Sha256: f89597bd046c9a6469204138907e5674ab2d3845bb62bbfe62862ffe0ff1fbb4

Contents?: true

Size: 870 Bytes

Versions: 25

Compression:

Stored size: 870 Bytes

Contents

<!DOCTYPE html>
<html>
<%= render 'layouts/head' %>
<%= content_tag :body, loco_body_data.merge(style: body_styles) do %>
  <%= render 'layouts/flash', name: '', msg: '' %>
  <% flash.each do |name, msg| %>
    <%= render 'layouts/flash', name: name, msg: msg %>
  <% end %>

  <div id="container">
    <div id="user_nav">
      <p>Hello <%= current_user.username %>!
        <%= link_to "sign out", user_session_url(id: 'current'), method: :delete,
              data: {'user-id' => current_user.id}, id: 'sign_out_user' %>
      </p>
      <p class="text_right">
        <%= link_to "Articles", user_articles_url,
          class: "#{'bold' if controller_name == 'articles'}" %> |
        <%= link_to "RealSnapChat rooms", user_rooms_url,
          class: "#{'bold' if controller_name == 'rooms'}" %>
      </p>
    </div>

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
loco-rails-3.0.5 test/dummy/app/views/layouts/user.html.erb
loco-rails-3.0.4 test/dummy/app/views/layouts/user.html.erb
loco-rails-3.0.3 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.5.3 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.5.2 test/dummy/app/views/layouts/user.html.erb
loco-rails-3.0.2 test/dummy/app/views/layouts/user.html.erb
loco-rails-3.0.1 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.5.1 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.5.0 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.4.0 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.3.0 test/dummy/app/views/layouts/user.html.erb
loco-rails-3.0.0 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.2.2 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.2.1 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.2.0 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.1.0 test/dummy/app/views/layouts/user.html.erb
loco-rails-2.0.0 test/dummy/app/views/layouts/user.html.erb
loco-rails-1.5.2 test/dummy/app/views/layouts/user.html.erb
loco-rails-1.5.1 test/dummy/app/views/layouts/user.html.erb
loco-rails-1.5.0 test/dummy/app/views/layouts/user.html.erb