Sha256: 3af68d1722e41e3c2a1b67bbef1409f0db7feb4a93e15f1b71f569b5638076f4

Contents?: true

Size: 1.16 KB

Versions: 24

Compression:

Stored size: 1.16 KB

Contents

<%% content_for 'head' do %>
  <%%= auto_discovery_link_tag :rss, node_path(@node.parent, :format => 'rss') unless @node.parent.nil? %>
<%% end %>

<div id="main-content"<%%= ' class="no-nav"' unless node_has_nav? %>>

  <h1><%%=h @node.title %></h1>

  <%%= link_to 'RSS', node_path(@node.parent, :format => 'rss'), :class => 'rss-logo', :title => 'Click and copy this url into your feed reader.' unless @node.parent.nil? %>

  <div id="body"><%%= @node.body %></div>


<% unless attributes.empty? %>
  <dl>
  <% for attribute in attributes -%>
      <dt><%= attribute.name.titleize %></dt>
      <dd><%%= @node.<% attribute.name %>%></dd>
  <% end -%>
  </dl>
<% end -%>
  

  <div id="related" class="component"><%%= related_content(@node, [@node.class.name], {:limit => 3}) %></div>

  <%%= component(@node, 'small_slot_0') %>
  <%%= component(@node, 'small_slot_1') %>
  <%%= component(@node, 'small_slot_2') %>
  <%%= component(@node, 'small_slot_3') %>

  <%%= component(@node, 'wide_slot_0') %>
  <%%= component(@node, 'wide_slot_1') %>
  <%%= component(@node, 'wide_slot_2') %>

</div>

<%% if node_has_nav? -%>
<div id="supporting-content">
  <%%= node_nav %>
</div>
<%% end -%>

Version data entries

24 entries across 12 versions & 1 rubygems

Version Path
noodall-ui-0.0.13 generators/component/templates/template.html.erb
noodall-ui-0.0.13 generators/node/templates/template.html.erb
noodall-ui-0.0.12 generators/component/templates/template.html.erb
noodall-ui-0.0.12 generators/node/templates/template.html.erb
noodall-ui-0.0.11 generators/component/templates/template.html.erb
noodall-ui-0.0.11 generators/node/templates/template.html.erb
noodall-ui-0.0.10 generators/component/templates/template.html.erb
noodall-ui-0.0.10 generators/node/templates/template.html.erb
noodall-ui-0.0.9 generators/node/templates/template.html.erb
noodall-ui-0.0.9 generators/component/templates/template.html.erb
noodall-ui-0.0.8 generators/component/templates/template.html.erb
noodall-ui-0.0.8 generators/node/templates/template.html.erb
noodall-ui-0.0.7 generators/node/templates/template.html.erb
noodall-ui-0.0.7 generators/component/templates/template.html.erb
noodall-ui-0.0.6 generators/component/templates/template.html.erb
noodall-ui-0.0.6 generators/node/templates/template.html.erb
noodall-ui-0.0.5 generators/component/templates/template.html.erb
noodall-ui-0.0.5 generators/node/templates/template.html.erb
noodall-ui-0.0.4 generators/component/templates/template.html.erb
noodall-ui-0.0.4 generators/node/templates/template.html.erb