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

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