<%= back_url_hidden_field_tag %>
<%= error_messages_for 'version' %>
<div id="pro_st_edit_ban" class="pro_st_edit_ban_display">
  <ul>
    <li >
      <label class="label02"><span class="c_red">*</span><%=l(:field_name)%>：</label>
      <%= f.text_field :name, :maxlength => 60,:class=>" w280", :label => ""%>
    </li>
    <li >
      <label class="label02"><%=l(:label_version_description)%>：</label>
      <%= f.text_field :description, :maxlength => 60,:class=>" w280", :label => "" %>
    </li>
    <li >
      <label class="label02"><%=l(:field_status)%>：</label>
      <%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]}, :label => "" %>
    </li>
    <!--<li >-->
      <!--<label class="label02"><%#=l(:label_wiki_page)%>：</label>-->
      <!--<%#= f.text_field :wiki_page_title, :size =>60, :label => "", :disabled => @project.wiki.nil? %>-->
    <!--</li>-->
    <li >
      <label class="label02"><%=l(:label_date)%>：</label>
      <%= f.text_field :effective_date, :size => 10, :readonly => true,:class=>"fl" ,:style=>"margin-left:7px;",:label=>""%>
      <%= calendar_for('version_effective_date') %>
    </li>
    <div class="cl mb10"></div>
    <!--<li >-->
      <!--<label class="label02"><%#=l(:field_sharing)%>：</label>-->
      <!--<%#= f.select :sharing, @version.allowed_sharings.collect {|v| [format_version_sharing(v), v]},:label=>"" %>-->
    <!--</li>-->
  </ul>

<% @version.custom_field_values.each do |value| %>
  <p style="margin-left:-20px;">
    <span style="margin-left:10px;">
      <%= custom_field_tag_with_label :version, value %>
    </span>
  </p>
<% end %>

</div>
