<% #-- # Copyright (C) 2010 Juho Nieminen # Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) # Copyright (C) 2007, 2008 Johan Sørensen # Copyright (C) 2008 Jonas Fonseca # Copyright (C) 2008 Tor Arne Vestbø # Copyright (C) 2009 Fabio Akita # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . #++ %> <%= breadcrumbs_from(@root) -%>

<%= t("views.projects.update_title", :link => link_to( h(@project.title), project_path(@project))) -%>

<%= error_messages_for :project -%> <% form_for(@project, :method => "put") do |f| -%> <%= render :partial => "form", :locals => {:form => f} -%>


<% help_box(:center, :error, :style => "margin-top:10px;margin-bottom:10px;width:75%;") do -%>

Note that changing the name or state of an existing status will update all affected merge requests

<% end -%> <% f.fields_for(:merge_request_statuses) do |status_form| -%> <%= render :partial => "merge_request_status_form", :locals => {:form => status_form, :project_form => f} -%> <% end -%>
Default? Name State Description Color Remove

<% unless @project.owned_by_group? -%>

<%= f.label :owner_id, "Transfer ownership to a team (optional)" -%>:
<%= f.select :owner_id, @groups.map{|g| [g.name, g.id]}, :include_blank => true, :selected => nil -%>
Note: This will give the group members admin rights to this project, along with adding them as committers to the mainline repositories (you can remove them later on a per-repository basis if you want to)

<% end -%> <%= f.submit t("views.common.update") -%> <% end -%> <% content_for :sidebar do -%> <% end -%>