annotate app/views/versions/_form.rhtml @ 1452:d6b9fd02bb89
feature_36_js_refactoring
Deprecated develoment branch.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Fri, 11 Oct 2013 17:01:24 +0100 |
parents |
513646585e45 |
children |
|
rev |
line source |
Chris@0
|
1 <%= error_messages_for 'version' %>
|
Chris@0
|
2
|
Chris@0
|
3 <div class="box">
|
Chris@0
|
4 <p><%= f.text_field :name, :size => 60, :required => true %></p>
|
Chris@0
|
5 <p><%= f.text_field :description, :size => 60 %></p>
|
Chris@0
|
6 <p><%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %></p>
|
Chris@0
|
7 <p><%= f.text_field :wiki_page_title, :label => :label_wiki_page, :size => 60, :disabled => @project.wiki.nil? %></p>
|
Chris@0
|
8 <p><%= f.text_field :effective_date, :size => 10 %><%= calendar_for('version_effective_date') %></p>
|
Chris@0
|
9 <p><%= f.select :sharing, @version.allowed_sharings.collect {|v| [format_version_sharing(v), v]} %></p>
|
Chris@0
|
10
|
Chris@0
|
11 <% @version.custom_field_values.each do |value| %>
|
Chris@0
|
12 <p><%= custom_field_tag_with_label :version, value %></p>
|
Chris@0
|
13 <% end %>
|
Chris@0
|
14
|
Chris@0
|
15 </div>
|