Sha256: 2b15b038d6843fb959e37eb6c9d73432c8705ed2f1879eea1005b602b343047c

Contents?: true

Size: 418 Bytes

Versions: 9

Compression:

Stored size: 418 Bytes

Contents

<%= content_tag :li, :id => dom_id(@root), :class => ['home', "clearfix", (params[:id].to_i == @root.id ? "active" : nil)].join(' ') do %>
  <%= link_to "<i class=\"icon-home\"></i> #{@root.title}".html_safe, edit_page_path(@root.id) %>
<% end %>
<%= render @root.children %>
<li class="add-page"><%= link_to "<i class=\"icon-plus\"></i> Add Page".html_safe, new_page_path(:page => { :parent_id => @root.id }) %></li>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
smithycms-0.4.5 app/views/smithy/pages/_root.html.erb
smithycms-0.4.4 app/views/smithy/pages/_root.html.erb
smithycms-0.4.3 app/views/smithy/pages/_root.html.erb
smithycms-0.4.2 app/views/smithy/pages/_root.html.erb
smithycms-0.4.1 app/views/smithy/pages/_root.html.erb
smithycms-0.4.0 app/views/smithy/pages/_root.html.erb
smithycms-0.0.3 app/views/smithy/pages/_root.html.erb
smithycms-0.0.2 app/views/smithy/pages/_root.html.erb
smithycms-0.0.1 app/views/smithy/pages/_root.html.erb