<% cancel_link = true if cancel_link.nil? %>
<%= render :partial => "base_form", :locals => {:xhr => xhr ||= nil,
                                                :form_action => form_action ||= :update,
                                                :method => method ||= :put,
                                                :cancel_link => cancel_link,
                                                :headline => headline ||= @record.to_label.nil? ? active_scaffold_config.update.label : as_(:update_model, :model => @record.to_label)} %>

<%if @record && @record.id%><span class="top_id"><%=@record.id%></span><%end%>
<% cancel_link = true if cancel_link.nil? %>
<%= render :partial => "base_form", :locals => {:xhr => xhr ||= nil,
                                                :form_action => form_action ||= :update,
                                                :method => method ||= :put,
                                                :cancel_link => cancel_link,
                                                :headline => headline ||= @record.to_label.nil? ? active_scaffold_config.update.label : as_(:update_model, :model => @record.to_label)} %>

Add base id to top right of update form
Add base id to top right of update form