anchor.diff:      };
   
       $.fn.add_build = function() {
  -      this.wizard('addSteps', 4, [
  +      this.wizard('addSteps', -1, [
           {
             badge: '',
  -          label: 'Build information',
  -          //pane: $('#build').html()
  +          label: 'Build information'
           }
         ]);
  +
  +      tabId = $.fn.get_tabs().indexOf('Build information')
  +      $($('div[data-step~="'+ (Number(tabId)+1) + '"]')[0]).attr('data-step', '')
  +      $('#build').attr('data-step', (Number(tabId)+1));
         return this;
       };
  +
  +    $.fn.get_tabs = function() {
  +      var option_all = $("#batchWizard div ul li").map(function(){
  +        return $.trim($(this).text().substring(1));
  +      }).get();
  +      return option_all
  +    }
   
       $(document).ready(function(){
         var wizard = $('#batchWizard').wizard();
  
positive.code: 
    <script type="text/javascript">
      $.fn.add_queue = function() {
        this.wizard('addSteps', 2, [
          {
            label: 'Queue information',
            pane: $('#queue').html()
  
negative.code:         <p><%= f.association :project %></p>
          <p><%= f.input :version %></p>
        </div>
        <div class="step-pane sample-pane-alert" id="build">
          <h4>Build</h4>
          <p>Please attach a build</p>
          <%= render "fields/array", field_name: :build, f: f %>
  