Sha256: 737b9f370539f3c2e539eb6d2dbb6324a3a9ecec2151029d49600206819b4052
Contents?: true
Size: 582 Bytes
Versions: 24
Compression:
Stored size: 582 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.pluralize 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
24 entries across 24 versions & 1 rubygems