Project name <%= tip(:txt => 'project_name_page_tip') %> <%= text_or_input(@new_project, :name => "DamageControl::Project[@name]", :value => project.name) %> <% if(@edit) %> <%= tag("input", :type => "hidden", :name => "DamageControl::Project[@name]", :value => project.name) %> <% end %>
Build command <%= tip(:txt => 'build_command_tip') %> <%= text_or_input(@edit, :name => "DamageControl::Project[@build_command]", :value => project.build_command) %>
Project home page <%= tip(:txt => 'project_home_page_tip') %> <%= text_or_input(@edit, :name => "DamageControl::Project[@home_page]", :value => project.home_page) %>
Start date <%= tip(:txt => 'project_start_time_tip') %> <%= calendar(:name => "DamageControl::Project[@start_time]", :time => project.start_time ? project.start_time : Time.new.utc) %>