Sha256: 0b1a614476061d34de1fff52d5a20d59bd8cd08093f9af3d93849a1ad18cd50f
Contents?: true
Size: 955 Bytes
Versions: 96
Compression:
Stored size: 955 Bytes
Contents
<table cellpadding="0" cellspacing="0"> <tr> <td class="indicator-container"> <%= loading_indicator_tag(:action => :record, :id => record.id) %> </td> <%# AST Begin -%> <% html_actions = [] %> <%# AST End -%> <% active_scaffold_config.action_links.each :record do |link| -%> <% next if skip_action_link(link) -%> <%# AST Begin -%> <% if [:delete, :show, :edit].include?(link.action.to_sym) %> <%# AST End -%> <td> <%= record.authorized_for?(:action => link.crud_type) ? render_action_link(link, url_options) : "<a class='disabled #{link.action}'>#{link.label}</a>" -%> </td> <%# AST Begin -%> <% else %> <% html_actions << render_action_link(link, url_options) %> <% end %> <% end -%> <% unless html_actions.empty? %> <td> <%= html_actions.join('<br>') %> </td> <% end %> <%# AST End -%> </tr> </table>
Version data entries
96 entries across 96 versions & 1 rubygems