Sha256: 7692d2f295913ae2a424f0b9c98d6a18a194c9f03d1940ae8befeedd66af8e56

Contents?: true

Size: 993 Bytes

Versions: 2

Compression:

Stored size: 993 Bytes

Contents

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

<% target_id = element_row_id(:action => :list, :id => record.id) -%>
<script type="text/javascript">
//<![CDATA[
new ActiveScaffold.Actions.Record(
  $$('#<%= target_id -%> a.action'),
  $('<%= target_id -%>'),
  $('<%= loading_indicator_id(:action => :record, :id => record.id) -%>'),
  {refresh_url: '<%= url_for params_for(:action => :row, :id => record.id, :_method => :get, :escape => true) -%>'}
);
//]]>
</script>
</td>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
brisk-bills-0.8.1 vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb