Sha256: 010bcd3b97d2d7ebb3a885a6622824c1fa0d79bca8ddf04e942429dd7146f28c
Contents?: true
Size: 1.21 KB
Versions: 41
Compression:
Stored size: 1.21 KB
Contents
<% title_column_or_id = title_column(current_resource_class) || "id" %> <% if thead -%> <th><%= sort_link title_column_or_id %></th> <% if title_column_or_id == "id" %> <% if meth = name_method_for(current_resource_class) %> <th><%= t("helpers.label.#{meth}") %></th> <% end %> <% end %> <% if has_locale?(current_resource_class) %> <th><%= sort_link :locale %></th> <% end %> <% if has_timestamps?(current_resource_class) %> <th><%= sort_link :created_at %></th> <% end %> <th><%= t('fullstack.admin.actions', :default => "Actions") %></th> <% end -%> <% if tbody -%> <td><%= link_to (content.send(title_column_or_id)), [:edit, :admin, content] %></td> <% if title_column_or_id == "id" %> <% if (name = name_for(content)).present? %> <td><%= link_to name, [:edit, :admin, content] %></td> <% end %> <% end %> <% if has_locale?(current_resource_class) %> <td><%= content.locale ? t("locale_names.#{content.locale}", :default => "#{content.locale}".humanize) : "–" %></td> <% end %> <% if has_timestamps?(current_resource_class) %> <td><%= l content.created_at.to_date, :format => :long %></td> <% end %> <td><%= default_collection_actions_for(content) %></td> <% end -%>
Version data entries
41 entries across 41 versions & 1 rubygems