|
|
|
@ -10,21 +10,15 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<p><%= f.text_field :name, :required => true, :size => 60, :style => "width:490px;" %></p>
|
|
|
|
|
|
|
|
|
|
<p style="margin-left:-10px;padding-right: 20px;"><%= f.text_area :description, :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %></p><!--by young-->
|
|
|
|
|
<!-- <p><%= f.text_field :identifier, :required => true, :size => 60, :style => "width:488px;", :disabled => @project.identifier_frozen?, :maxlength => Project::IDENTIFIER_MAX_LENGTH %>
|
|
|
|
|
<% unless @project.identifier_frozen? %>
|
|
|
|
|
<em class="info"><%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %></em>
|
|
|
|
|
<% end %></p> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%= f.fields_for @course do |m| %>
|
|
|
|
|
|
|
|
|
|
<!-- added by huang -->
|
|
|
|
|
<p style="margin-left:-10px;"><%= m.text_field :password, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
|
|
|
|
|
<em class="info" style="margin-left:95px;"><%= l(:text_command) %></em>
|
|
|
|
|
|
|
|
|
|
<!-- added by bai 增加了“年度”和“学期” -->
|
|
|
|
|
<p><table><tr><td>
|
|
|
|
|
<%= f.fields_for @course do |m| %>
|
|
|
|
|
<!-- added by bai 增加了“年度”和“学期” -->
|
|
|
|
|
<p><table><tr><td>
|
|
|
|
|
<% unless @course.nil? %>
|
|
|
|
|
<% if @course.time == 2008 %>
|
|
|
|
|
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_term) %><span class="required"> * </span></strong></td>
|
|
|
|
@ -227,10 +221,12 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% end %></td></tr></table></p>
|
|
|
|
|
<!-- end -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
<!-- end -->
|
|
|
|
|
<!-- added by huang -->
|
|
|
|
|
<p style="margin-left:-10px;"><%= m.text_field :password, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
|
|
|
|
|
<em class="info" style="margin-left:95px;"><%= l(:text_command) %></em>
|
|
|
|
|
<% end %>
|
|
|
|
|
<p style="margin-left:-10px;padding-right: 20px;"><%= f.text_area :description, :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %></p><!--by young-->
|
|
|
|
|
<p style="margin-left:-10px;"><em style ="color: #888888;display: block;font-size: 90%;font-style: normal;"><%= f.check_box :is_public, :style => "margin-left:10px;" %></em></p>
|
|
|
|
|
<p style="display:none;"><%= f.text_field :project_type, :value => 1 %></p>
|
|
|
|
|
|
|
|
|
|