Sha256: 8596a5069353e417c94ab259e965bf655dab8031f05ed502cb81c776806e2fdc
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
<% admin_user.applications.each do |app| %> <table> <thead> <tr> <th><%= Typus::I18n.t(app) %></th> </tr> </thead> <% admin_user.application(app).each do |model| %> <% klass = model.typus_constantize klass_human_name = klass.model_name.human(:count => 2) admin_items_path = { :controller => "/admin/#{klass.to_resource}" } %> <tr class="<%= cycle("even", "odd") %>"> <td> <%= link_to klass_human_name, admin_items_path %> </td> </tr> <% end %> </table> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typus-3.0.12 | app/views/admin/dashboard/_applications.html.erb |