# File lib/genomed.rb, line 521
    def bootstrap_collect_data
      p do
        h2 "Genome Bootstrap"
        h3 "Step 2: Collect bootstrap data"
      end
      p do
        form(:method => "post", :action => CONTEXT + R(Genomed::Controllers::Bootstrap)) do
          input :type => "hidden", :name => "next_step", :value => "select_profile"
          input :type => "hidden", :name => "this_step", :value => "collect_data"
          input :type => "hidden", :name => "config", :value => "#{::YAML.dump(@config)}"
          
          fieldset do
            table do
              @machine.facts.each do |f|
                tr do
                  td.label do text("#{f.name.capitalize}:") end
                  td.field do
                    input :name => "parameters[#{f.name}]", :type => 'text', :size => 35,
                          :value => f.default.gsub("%repo%", `hostname`); br
                  end
                end
              end
            end
          end
          p do
            input :type => "submit", :value => "Next: Select profile"
          end
        end
      end
    end