Sha256: 2d63a3d864f2eb890891f01d7b934f171ff039d0b159b6ab6a023f8e53496305
Contents?: true
Size: 905 Bytes
Versions: 25
Compression:
Stored size: 905 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><%= link_to "Sign out", admin_session_url(id: 'current'), method: :delete, data: {'admin-id' => current_admin.id} %> </p> <p class="text_right"> <%= link_to "Users", admin_users_url, class: "#{'bold' if controller_name == 'users'}" %> | <%= link_to "Articles", published_admin_articles_url, class: "#{'bold' if controller_name == 'articles'}" %> <% if controller_name == 'comments' %> | <span class='bold'>Comments</span> <% end %> </p> </div> <%= yield %> </div> <% end %> </html>
Version data entries
25 entries across 25 versions & 1 rubygems