Sha256: 48ef6ee34a4c2452865b7b9c3cc9951098f462a6743d259686bd8abee2b9e2c8
Contents?: true
Size: 832 Bytes
Versions: 28
Compression:
Stored size: 832 Bytes
Contents
<% column_span_id ||= element_cell_id(:id => @record.id.to_s, :action => 'update_column', :name => params[:column])%> <% unless controller.send :successful?%> alert('<%= escape_javascript(@record.errors.full_messages.join("\n"))%>'); <% @record.reload%> <% end%> <% column = active_scaffold_config.columns[params[:column]]%> <% if column.inplace_edit%> ActiveScaffold.replace_html('<%=column_span_id%>','<%=escape_javascript(format_inplace_edit_column(@record, column))%>'); <% else%> <% formatted_value = get_column_value(@record, column)%> ActiveScaffold.replace_html('<%=column_span_id%>','<%=escape_javascript(formatted_value)%>'); <% end%> <% if column.calculation?%> ActiveScaffold.replace_html('<%=active_scaffold_calculations_id(column)%>', '<%=escape_javascript(render_column_calculation(column))%>'); <% end%>
Version data entries
28 entries across 28 versions & 2 rubygems