Sha256: 90e68a04ea855533af66e2fb3d2f4b447c87665fad8f55b7fe3df3c05adfbcee

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 Bytes

Contents

<% action_links ||= active_scaffold_config.action_links %>
<td class="actions"><table cellpadding="0" cellspacing="0">
  <tr>
    <td class="indicator-container">
      <%= loading_indicator_tag(:action => :record, :id => record.id) %>
    </td>
    <% action_links.each do |link| -%>
      <% next if skip_action_link(link, record) -%>
      <td>
      <%= record.authorized_for?(:crud_type => link.crud_type, :action => link.action) ? render_action_link(link, url_options, record) : action_link_html(link, nil, {:class => "disabled #{link.action}#{link.html_options[:class].blank? ? '' : (' ' + link.html_options[:class])}"}) %>
      </td>
    <% end -%>
  </tr>
</table>
</td>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_scaffold-3.0.2 frontends/default/views/_list_actions.html.erb
active_scaffold-3.0.1 frontends/default/views/_list_actions.html.erb
active_scaffold-3.0.0 frontends/default/views/_list_actions.html.erb