Sha256: 172a0035489fa464256c44d68c9dbfa79b771f1357ac6fe19cc06401a752dc8b

Contents?: true

Size: 759 Bytes

Versions: 53

Compression:

Stored size: 759 Bytes

Contents

<%
  column = if update_column.is_a? ActiveScaffold::DataStructures::Column
    update_column
  else
    active_scaffold_config.columns[update_column.to_sym]
  end
  @rendered ||= Set.new
  return if @rendered.include? column.name
  @rendered << column.name
-%>
<% if @record.authorized_for?(:crud_type => :read, :column => column.name) -%>
  ActiveScaffold.replace_html('<%= row_id %> .<%= column.name %>-column','<%= escape_javascript(render_list_column(get_column_value(@record, column), column, @record)) %>');
<% end -%>
<% if column.update_columns && !column.update_columns.empty? %>
  <%=  render(:partial => 'update_column', :collection => column.update_columns & active_scaffold_config.list.columns.names, :locals => {:row_id => row_id})%>
<% end %>

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
active_scaffold-3.4.43 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.42 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.41.1 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.41 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.40 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.39 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.38 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.37 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.36 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.35 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.34 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.33 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.32 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.31 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.30 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.29 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.28 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.27 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.26 app/views/active_scaffold_overrides/_update_column.js.erb
active_scaffold-3.4.25 app/views/active_scaffold_overrides/_update_column.js.erb