Sha256: 8b7bb77fc71fc034b51749e8cfa432df8043b08ca21fce4587e9b44fd21cdba5
Contents?: true
Size: 960 Bytes
Versions: 17
Compression:
Stored size: 960 Bytes
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_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_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
17 entries across 17 versions & 1 rubygems