To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / versions / _form.html.erb @ 1591:63650ae64bf2
History | View | Annotate | Download (769 Bytes)
| 1 |
<%= back_url_hidden_field_tag %>
|
|---|---|
| 2 |
<%= error_messages_for 'version' %>
|
| 3 |
|
| 4 |
<div class="box tabular"> |
| 5 |
<p><%= f.text_field :name, :size => 60, :required => true %></p> |
| 6 |
<p><%= f.text_field :description, :size => 60 %></p> |
| 7 |
<p><%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %></p> |
| 8 |
<p><%= f.text_field :wiki_page_title, :label => :label_wiki_page, :size => 60, :disabled => @project.wiki.nil? %></p> |
| 9 |
<p><%= f.text_field :effective_date, :size => 10 %><%= calendar_for('version_effective_date') %></p> |
| 10 |
<p><%= f.select :sharing, @version.allowed_sharings.collect {|v| [format_version_sharing(v), v]} %></p> |
| 11 |
|
| 12 |
<% @version.custom_field_values.each do |value| %>
|
| 13 |
<p><%= custom_field_tag_with_label :version, value %></p> |
| 14 |
<% end %>
|
| 15 |
|
| 16 |
</div>
|