Sha256: a3579f134cbbbf992db18ee12316a322d5909de4b10875b560c9ccf38d53da69

Contents?: true

Size: 620 Bytes

Versions: 24

Compression:

Stored size: 620 Bytes

Contents

<div id="left">
	
		<% @applications.each do |application| %>
			<% if application.can?(my_admin_user) %>
				<div class="subnav">
					<div class="subnav-title">
						<a href="#" class='toggle-subnav'><i class="icon-angle-right"></i><span><%= application.title %></span></a>
					</div>
					<ul class="subnav-menu">
				
						<% application.models.each do |model| %>
							<% if model.my_admin.can?(:list, my_admin_user) %>
								<li>
									<%= link_to model.title_plural, model_link(application, model) %>
								</li>
							<% end %>
						<% end %>
					</ul>
				</div>
			<% end %>
		<% end %>
	
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
my_admin-0.0.5 app/views/my_admin/_left.html.erb
my_admin-0.0.4 app/views/my_admin/_left.html.erb
my_admin-0.0.3 app/views/my_admin/_left.html.erb
my_admin-0.0.2 app/views/my_admin/_left.html.erb