summaryrefslogtreecommitdiffstats
path: root/app/views/versions/_form.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/versions/_form.rhtml')
-rw-r--r--app/views/versions/_form.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/versions/_form.rhtml b/app/views/versions/_form.rhtml
index 13579b8b6..b829cf2f8 100644
--- a/app/views/versions/_form.rhtml
+++ b/app/views/versions/_form.rhtml
@@ -6,8 +6,10 @@
<p><%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %></p>
<p><%= f.text_field :wiki_page_title, :label => :label_wiki_page, :size => 60, :disabled => @project.wiki.nil? %></p>
<p><%= f.text_field :effective_date, :size => 10 %><%= calendar_for('version_effective_date') %></p>
+<p><%= f.select :sharing, @version.allowed_sharings.collect {|v| [format_version_sharing(v), v]} %></p>
<% @version.custom_field_values.each do |value| %>
<p><%= custom_field_tag_with_label :version, value %></p>
<% end %>
+
</div>