diff --git a/app/views/forums/_form.html.erb b/app/views/forums/_form.html.erb index f67aa1181..993563954 100644 --- a/app/views/forums/_form.html.erb +++ b/app/views/forums/_form.html.erb @@ -13,16 +13,19 @@ --> <% end %> -
(<%= l(:lable_forums_max_length) %>)
<%= f.text_field :subject, :required => true%>
<%= f.text_area :content, :required => true, :id => 'editor02' %>
-(<%= l(:lable_memos_max_length) %>)
+
<%= l(:label_attachment_plural) %>
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
<%= f.text_field :subject, :required => true, :size => 95 %>
<%= f.text_area :content, :required => true, :id => 'editor01' %>
+ +
<%= l(:label_attachment_plural) %>
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
<% if @memo.attachments.any?%> <% options = {:author => true, :deletable => @memo.deleted_attach_able_by?(User.current) } %> diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 1d66874ee..62c9b860f 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2109,4 +2109,7 @@ zh: lable_file_not_found: 对不起,该文件现在不能下载! lable_goto_homepage: 返回主页 lable_trustie_team: Trustie开发团队 + + lable_memos_max_length: 帖子内容最大长度为65535个字符 + lable_forums_max_length: 贴吧描述最大长度为65535个字符 \ No newline at end of file