Sha256: 34edda26899c44387032b9b4c5e4dc9b9cf98caf074392b8b244ca2c0fa08a29

Contents?: true

Size: 944 Bytes

Versions: 4

Compression:

Stored size: 944 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, :escape => false)).html_safe %>" data-as_load="tr">
  <%= 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

4 entries across 4 versions & 1 rubygems

Version Path
active_scaffold_vho-3.1.0 frontends/default/views/_list_record.html.erb
active_scaffold_vho-3.0.23 frontends/default/views/_list_record.html.erb
active_scaffold_vho-3.0.22 frontends/default/views/_list_record.html.erb
active_scaffold_vho-3.0.21 frontends/default/views/_list_record.html.erb