新建版本 更改页面

This commit is contained in:
lizanle 2015-04-16 11:07:38 +08:00
parent 86b05b8e6a
commit 38672458b0
1 changed files with 2 additions and 5 deletions

View File

@ -74,16 +74,13 @@
</li>
<li >
<label class="label02">&nbsp;日期 &nbsp;&nbsp;</label>
<%= f.text_field :effective_date, :size => 10, :readonly => true %>
<%= f.text_field :effective_date, :size => 10, :readonly => true,:class=>" fl" %>
<%= calendar_for('version_effective_date') %>
</li>
<div class="cl mb10"></div>
<li >
<label class="label02">&nbsp;共享 &nbsp;&nbsp;</label>
<select id="" name="version[sharing]">
<option value="" selected="selected">不共享 </option>
<option value="">共享 </option>
</select>
<%= f.select :sharing, @project.versions.build.allowed_sharings.collect {|v| [format_version_sharing(v), v]} %>
</li>
<a href="#" onclick="$('#new_project_version_form').submit();" class="blue_btn ml110">保存</a>
</ul>