Sha256: b1925f57c0a99b6ae4c492702de4fa2cdae45d2a56f260954a838cfbc9147151

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

<html>
	<head>
		<title>Kitsune CMS</title>
		<%= stylesheet_link_tag 'kitsune/global.css' %>
		<%= javascript_include_tag 'kitsune/nicEdit.js' %>
	</head>
	<body>
		<div id='content'>
			<div id='header'>
				<h1><a href='/admin/models'>Kitsune</a></h1>
				<a href='/'>View Site</a>
			</div>
			<div class='kitsune_container'>
				<div class='kitsune_left'>
					<% @models.each do |model| %>
						<% if model.is_a? Hash %>
							<% model.each do |key, value| %>
								<div class='kitsune_category'>
									<h3><%= key %></h3>
									<% value.each do |inner_model| %>
										<div class='kitsune_inner_model_link'><%= link_to inner_model.admin_name, admin_kitsune_model_records_path(inner_model.object_class) %></div>
									<% end %>
								</div>
							<% end %>
						<% else %>
							<div class='kitsune_model_link'><%= link_to model.admin_name, admin_kitsune_model_records_path(model.object_class) %></div>
						<% end %>
					<% end %>
				</div>
				<div class='kitsune_right'>
					<%= yield %>
				</div>
			</div>
		</div>
	</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kitsune-0.0.5 app/views/layouts/admin/kitsune.html.erb
kitsune-0.0.4 app/views/layouts/admin/kitsune.html.erb