|
|
|
@ -1,9 +1,17 @@
|
|
|
|
|
<h3><%= l(:label_mobile_version) %></h3>
|
|
|
|
|
<a href="javascript:void(0)" onclick="$('#new_version').slideToggle(400); ">发布新版本</a>
|
|
|
|
|
<div>
|
|
|
|
|
<form id="new_version" style="display: none">
|
|
|
|
|
发布新版本
|
|
|
|
|
</form>
|
|
|
|
|
<%= form_tag({:controller => 'admin', :action => 'create_version'},{:id => 'new_version',:style=>'display:none'}) do %>
|
|
|
|
|
<p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
|
<label for='version'><%= l(:label_version_number) %>:</label>
|
|
|
|
|
<%= text_field_tag 'version', params[:version],:value => @new_version.version, :size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %>
|
|
|
|
|
</p>
|
|
|
|
|
<p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
|
<label for='description'><%= l(:label_version_description)%>:</label>
|
|
|
|
|
<%= text_field_tag 'description', params[:description],:value => @new_version.description,:size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %>
|
|
|
|
|
</p>
|
|
|
|
|
<%= submit_tag l(:button_save), :class => "small", :name => nil %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<br/>
|
|
|
|
|
<div>当前版本:</div>
|
|
|
|
|