kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1002 B
27 lines
1002 B
19 years ago
|
<%= error_messages_for 'project' %>
|
||
19 years ago
|
<div class="box">
|
||
19 years ago
|
<!--[form:project]-->
|
||
18 years ago
|
<p><%= f.text_field :name, :required => true %></p>
|
||
19 years ago
|
|
||
18 years ago
|
<% if admin_loggedin? and !@root_projects.empty? %>
|
||
18 years ago
|
<p><%= f.select :parent_id, (@root_projects.collect {|p| [p.name, p.id]}), { :include_blank => true } %></p>
|
||
19 years ago
|
<% end %>
|
||
|
|
||
18 years ago
|
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 3 %></p>
|
||
|
<p><%= f.text_field :homepage, :size => 40 %></p>
|
||
|
<p><%= f.check_box :is_public %></p>
|
||
19 years ago
|
|
||
19 years ago
|
<% for @custom_value in @custom_values %>
|
||
|
<p><%= custom_field_tag_with_label @custom_value %></p>
|
||
19 years ago
|
<% end %>
|
||
18 years ago
|
|
||
|
<% unless @custom_fields.empty? %>
|
||
|
<p><label><%=l(:label_custom_field_plural)%></label>
|
||
18 years ago
|
<% for custom_field in @custom_fields %>
|
||
18 years ago
|
<%= check_box_tag "custom_field_ids[]", custom_field.id, ((@project.custom_fields.include? custom_field) or custom_field.is_for_all?), (custom_field.is_for_all? ? {:disabled => "disabled"} : {}) %>
|
||
18 years ago
|
<%= custom_field.name %>
|
||
18 years ago
|
<% end %></p>
|
||
|
<% end %>
|
||
18 years ago
|
<!--[eoform:project]-->
|
||
19 years ago
|
</div>
|