mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
cla init
This commit is contained in:
6
app/forms/users/user_cla_form.rb
Normal file
6
app/forms/users/user_cla_form.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class Users::UserClaForm
|
||||
include ActiveModel::Model
|
||||
attr_accessor :email, :real_name, :cla_id
|
||||
validates :email, presence: true, format: { with: CustomRegexp::EMAIL }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user