Merge branch 'develop' into pre_trustie_server

This commit is contained in:
“xxq250” 2022-09-07 11:14:34 +08:00
commit 9c5b899205
2 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class Contents::CreateForm < BaseForm
validates :filepath, presence: true
validates :new_branch, length: { maximum: 50, too_long: "分支名称过长,仅支持%{count}的长度"}
validates :new_branch, length: { maximum: 100, too_long: "过长,仅支持%{count}的长度"}
validate :check_branch

View File

@ -0,0 +1,5 @@
'zh-CN':
activemodel:
attributes:
contents/create_form:
new_branch: 分支名称