<%# 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 -%> <%# AST Begin -%> <% else %> <% html_actions << render_action_link(link, url_options) %> <% end %> <% end -%> <% unless html_actions.empty? %> <% end %> <%# AST End -%>
<%= loading_indicator_tag(:action => :record, :id => record.id) %> <%= record.authorized_for?(:action => link.crud_type) ? render_action_link(link, url_options) : "#{link.label}" -%> <%= html_actions.join('
') %>