anchor.diff:    <tr>
       <td></td>
       <td>
  -      <%= submit_tag 'Save', :id => 'btn_save', :class => 'form_button', :style => 'width: 70px;' %>
  -      <%= link_to_function 'Cancel', "cancelEditProperties();", :style => 'font-weight: normal;' %>
  +      <%= submit_tag 'Save', id: 'btn_save', class: 'form_button', style: 'width: 70px;' %>
  +      <%= link_to_function 'Cancel', "cancelEditProperties();", style: 'font-weight: normal;' %>
         <%= hidden_field_tag 'return_to', params[:return_to] %>
       </td>
     </tr>
  
positive.code:   </tr>
    <tr>
      <td valign="middle">Tags:</td>
      <td><%= text_field_tag :tags, @tags, :class => 'form', :style => 'width: 100%' %></td>
    </tr>
    <tr class="page-field">
      <td>Publish Version:</td>
      <td><%= select :pg, :published_version, [ [ '[ None (offline) ]', -1 ], [ '[ Latest ]', 0 ] ].concat(@pg.versions.reverse.map { |pg| [ "#{pg.version} - #{ts_to_str pg.updated_on}#{" by #{pg.updated_by_username}" unless pg.updated_by_username.blank? }", pg.version ] }), {}, :class => 'form', :style => 'width: 100%' %></td>
    </tr>
    <tr>
      <td>Publish Date:</td>
      <td>
        <table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="120"><%= date_picker :pg, :published_date, :default_value => (@pg.published_date || @pg.created_on || Time.now), :start_date => Time.utc(2006, 1, 1), :end_date => 2.years.from_now %></td>
            <td width="60">Position:</td>
            <td><%= text_field :pg, :position, :class => 'form', :style => 'width: 20px' %></td>
          </tr>
        </table>
      </td>
  
negative.code: 
  <div id="save_errors" class="error"></div>
  
  <%= form_remote_tag url: { action: 'edit_page', id: @pg.id },
                      loading: "$('btn_save').disabled = true; $('btn_save').value = 'Saving...';" do %>
  <table id="dlg-page-properties">
    <col width="120"><col width="*"><col width="5">
  <%- if (@pg.id || 2) > 1 -%>
    <tr>
      <td>Name (for URL):</td>
      <td>
        <%= text_field :pg, :name, class: 'form', style: 'margin-bottom: 0; width: 150px', onchange: (@pg.new_record? ? '' : "if (!confirm('Are you sure you want to change the name of this page? Any bookmarks or links to this page will no longer work if you proceed with this change.')) { this.value = $('original_name').value; };") %><br/>
        <%= text_field_tag :original_name, @pg.name, style: 'display: none' %>
        <%= text_field :pg, :parent_id, style: 'display: none' %>
      </td>
    </tr>
  <%- end -%>
    <tr>
      <td>Page Title:</td>
      <td><%= text_field :pg, :title, class: 'form', style: 'width: 100%;' %></td>
    </tr>
    <%- if @pg.respond_to?(:redirect_enabled) -%>
    <tr>
  