Sha256: 189390b0bf5c833151f3dc591db02bf9225656d34b1944109c84555f35b39f6f

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

<h1>Layouts</h1>

<p>Use layouts to apply a visual look to a  Web page. Layouts can contain special tags to include
  page content and other elements such as the header or footer. Click on a layout name below to
  edit it or click <code>Remove</code> to delete it.</p>

<table id="layouts" class="index" cellpadding="0" cellspacing="0" border="0">
	<thead>
		<tr>
			<th class="layout">Layout</th>
			<th class="modify">Modify</th>
		</tr>
	</thead>
	<tbody>
<% unless @layouts.empty? -%>
<% for layout in @layouts -%>
	  <tr class="node level-1">
	    <td class="layout">
	      <%= image_tag 'page', :alt => 'layout-icon', :title => '', :align => 'center' %>
	      <%= link_to layout.name, layout_edit_url(:id => layout) %>
	    </td>
	    <td class="remove"><%= link_to image_tag('remove', :alt => 'Remove Layout'), layout_remove_url(:id => layout) %></td>
	  </tr>
<% end -%>
<% else -%>
    <tr>
      <td colspan="2" class="note">No Layouts</td>
    </tr>
<% end -%>
	</tbody>
</table>
<script type="text/javascript">
// <![CDATA[
  new RuledTable('layouts');
// ]]>
</script>

<p><%= link_to image_tag('new-layout', :alt => 'New Layout'), layout_new_url %></p>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-0.5.0 app/views/admin/layout/index.rhtml