|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
<%= error_messages_for 'project' %>
|
|
|
|
|
<!--[form:project]-->
|
|
|
|
|
<% unless @project.new_record? %>
|
|
|
|
|
<p><%= render :partial=>"avatar/avatar_form",:locals=> {source:@project} %></p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<p><%= f.text_field :name, :required => true, :size => 60, :style => "width:490px;" %></p>
|
|
|
|
|
|
|
|
|
|
<p style="margin-left:-10px;padding-right: 20px;"><%= f.text_area :description, :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %></p><!--by young-->
|
|
|
|
@ -11,13 +13,6 @@
|
|
|
|
|
<p style="margin-left:-10px;"><%= f.text_field :homepage, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
|
|
|
|
|
<p style="margin-left:-10px;"><%= f.check_box :is_public, :style => "margin-left:10px;" %></p>
|
|
|
|
|
|
|
|
|
|
<% unless @project.allowed_parents.compact.empty? %>
|
|
|
|
|
<p style="margin-left:-10px;"><%= label(:project, :parent_id, l(:field_parent)) %><span style="margin-left:10px;"><%= parent_project_select_tag(@project) %></span></p>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% if @project.safe_attribute? 'inherit_members' %>
|
|
|
|
|
<p style="padding-left: 150px;"><%= f.check_box :inherit_members %></p>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<%= wikitoolbar_for 'project_description' %>
|
|
|
|
|
|
|
|
|
|