国际化代码

This commit is contained in:
sw 2014-10-08 17:31:42 +08:00
parent 43b204e0a7
commit 978c883f6e
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<h3>修改作业</h3>
<h3><%= l(:label_edit_homework) %></h3>
<%= labelled_form_for @bid do |f| %>
<div class="box tabular">

View File

@ -40,7 +40,9 @@
<td>
<span class="info" align="right" style="width: 90px; font-weight: bold ;margin-left:22px"><%= l(:label_class_period) %>
<span class="required"> *&nbsp;&nbsp;</span></span>
<span class="info" style="width: 10px;"><%= text_field_tag :class_period, @course.class_period, :placeholder => "在此输入课时", :maxlength => 5 %></span>
<span class="info" style="width: 10px;">
<%= text_field_tag :class_period, @course.class_period, :placeholder => "在此输入课时", :maxlength => 5 %>
</span>
<span>&nbsp;<strong><%= l(:label_class_hour) %></strong></span>
</td>
</tr>
@ -53,7 +55,10 @@
<td>
<span class="info" align="right" style="width: 90px; font-weight: bold ;margin-left:22px"><%= l(:label_class_period) %>
<span class="required"> *&nbsp;&nbsp;</span></span>
<span class="info" style="width: 10px;"><%= text_field_tag :class_period, nil, :placeholder => "在此输入课时", :maxlength => 5 %></span><strong><%= l(:label_class_hour) %></strong>
<span class="info" style="width: 10px;">
<%= text_field_tag :class_period, nil, :placeholder => "在此输入课时", :maxlength => 5 %>
</span>
<strong><%= l(:label_class_hour) %></strong>
</td>
</tr>
</table>