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