Sha256: d85d7bd333b6e3822f05976ec3b5c7181f52b8d0b7c7efbee9892d440f83dce2

Contents?: true

Size: 815 Bytes

Versions: 5

Compression:

Stored size: 815 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? %>
</tr>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_scaffold-sequel-0.6.2 frontends/default/views/_list_record.html.erb
active_scaffold-sequel-0.6.1 frontends/default/views/_list_record.html.erb
active_scaffold-sequel-0.6.0 frontends/default/views/_list_record.html.erb
active_scaffold-sequel-0.5.1 frontends/default/views/_list_record.html.erb
active_scaffold-sequel-0.5.0 frontends/default/views/_list_record.html.erb