Sha256: 33f7610731fe8345c39a0c6cbdc4396d4f14fa498d71c789072261254f0855e7

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

<h1>
	<% if @parent_model && @parent_model.respond_to?(:name) -%>
		<%= @parent_model.name %>
	<% else -%>
		Pages
	<% end -%>
</h1>

<ul class="cadmus_page_list">
<% @pages.each do |page| %>
  <li><%= link_to page.name, { :action => 'show', :page_glob => page.slug } %></li>
<% end %>
</ul>

<br />

<%= link_to 'New Page', :action => 'new' %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cadmus-0.7.1 app/views/cadmus/pages/index.html.erb
cadmus-0.7.0 app/views/cadmus/pages/index.html.erb