Sha256: dda976a5896f0da5264fd4f095c42c0cfd02f583da5bf1d5fa2c750cb499f3c4

Contents?: true

Size: 908 Bytes

Versions: 8

Compression:

Stored size: 908 Bytes

Contents

<%
record = list_record if list_record # compat with render :partial :collection
columns ||= list_columns
tr_class = cycle("", "even-record")
tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class
url_options = params_for(:action => :list, :id => record.id)
action_links ||= active_scaffold_config.action_links.member
-%>

<tr class="record <%= tr_class %>" id="<%= element_row_id(:action => :list, :id => record.id) %>" data-refresh="<%= url_for(params_for(:action => :row, :id => record.id, :_method => :get)).html_safe %>">
  <%= render :partial => 'list_record_columns', :locals => {:record => record, :columns => columns} %>
  <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options, :action_links => action_links} unless action_links.empty? %>
  <%= render_nested_view(action_links, url_options, record) unless @nested_auto_open.nil? %>
</tr>

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
active_scaffold-sequel-0.4.0 frontends/default/views/_list_record.html.erb
active_scaffold-sequel-0.3.0 frontends/default/views/_list_record.html.erb
active_scaffold-3.2.0 frontends/default/views/_list_record.html.erb
active_scaffold-3.1.20 frontends/default/views/_list_record.html.erb
active_scaffold-3.1.19 frontends/default/views/_list_record.html.erb
active_scaffold-3.1.18 frontends/default/views/_list_record.html.erb
active_scaffold-3.1.17 frontends/default/views/_list_record.html.erb
active_scaffold-3.1.15 frontends/default/views/_list_record.html.erb