2011-07-03 16:56:27 +04:00
|
|
|
<%= back_url_hidden_field_tag %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= error_messages_for 'version' %>
|
2006-10-14 11:44:00 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<div class="box">
|
2008-03-09 18:36:47 +03:00
|
|
|
<p><%= f.text_field :name, :size => 60, :required => true %></p>
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><%= f.text_field :description, :size => 60 %></p>
|
2009-11-08 16:03:41 +03:00
|
|
|
<p><%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %></p>
|
2007-06-14 22:26:27 +04:00
|
|
|
<p><%= f.text_field :wiki_page_title, :label => :label_wiki_page, :size => 60, :disabled => @project.wiki.nil? %></p>
|
2007-05-20 21:46:02 +04:00
|
|
|
<p><%= f.text_field :effective_date, :size => 10 %><%= calendar_for('version_effective_date') %></p>
|
2009-12-06 13:28:20 +03:00
|
|
|
<p><%= f.select :sharing, @version.allowed_sharings.collect {|v| [format_version_sharing(v), v]} %></p>
|
2009-11-15 18:22:55 +03:00
|
|
|
|
|
|
|
<% @version.custom_field_values.each do |value| %>
|
|
|
|
<p><%= custom_field_tag_with_label :version, value %></p>
|
|
|
|
<% end %>
|
2009-12-06 13:28:20 +03:00
|
|
|
|
2007-01-06 12:08:17 +03:00
|
|
|
</div>
|