diff --git a/app/views/users/as/_list_record.html.erb b/app/views/users/as/_list_record.html.erb index 0c29914..f1e6b13 100644 --- a/app/views/users/as/_list_record.html.erb +++ b/app/views/users/as/_list_record.html.erb @@ -1,16 +1,31 @@ <%# add :controller_id => :as_records to respond in records list, not a's %> <% -record = list_record if list_record # compat with render :partial :collection +record = list_record if local_assigns[:list_record] # compat with render :partial :collection columns ||= list_columns -tr_class = cycle("", "even-record") -tr_class += " #{list_row_class(record)}" -url_options = params_for(:action => :list, :id => record.id) +tr_class = cycle("", "even-record") + ' ' + list_row_class(record) action_links ||= active_scaffold_config.action_links.member +data_refresh ||= record.id -%> +
+ <%= loading_indicator_tag(:action => :record, :id => record.id) %> + | + <%= display_action_links(action_links, record, :level_0_tag => :td, :for => record.persisted? ? record : record.class) %> +