app/views/kuztuscms/pages/index.html.erb in kuztuscms-0.0.3 vs app/views/kuztuscms/pages/index.html.erb in kuztuscms-0.0.4
- old
+ new
@@ -4,19 +4,21 @@
<tr>
<th>Name</th>
<th>Path</th>
<th>Article</th>
<th>Layout</th>
+ <th>Default</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<% @pages.each do |page| %>
<tr>
<td><%= page.name %></td>
<td><%= page.path %></td>
<td><%= page.article.name %></td>
<td><%= page.layout.path %></td>
+ <td><%= page.default %></td>
<td>
<%= link_to 'Edit', kuztuscms.edit_page_path(page), :class => 'btn btn-mini' %>
<%= link_to 'Destroy', kuztuscms.page_path(page), :method => :delete, :confirm => 'Are you sure?', :class => 'btn btn-mini btn-danger' %>
</td>
</tr>