mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Client side validations
This commit is contained in:
parent
e987e201ad
commit
b51310062d
53 changed files with 503 additions and 305 deletions
|
@ -1,6 +1,7 @@
|
|||
module Depp
|
||||
class Contact
|
||||
include ActiveModel::Model
|
||||
include DisableHtml5Validation
|
||||
|
||||
attr_accessor :id, :name, :email, :phone, :org_name,
|
||||
:ident, :ident_type, :ident_country_code,
|
||||
|
|
|
@ -2,6 +2,7 @@ module Depp
|
|||
class Domain
|
||||
include ActiveModel::Conversion
|
||||
extend ActiveModel::Naming
|
||||
include DisableHtml5Validation
|
||||
|
||||
attr_accessor :name, :current_user, :epp_xml
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
module Depp
|
||||
class Keyrelay
|
||||
include DisableHtml5Validation
|
||||
attr_accessor :current_user, :epp_xml
|
||||
|
||||
def initialize(args = {})
|
||||
|
|
|
@ -3,6 +3,7 @@ module Depp
|
|||
include ActiveModel::Validations
|
||||
include ActiveModel::Conversion
|
||||
extend ActiveModel::Naming
|
||||
include DisableHtml5Validation
|
||||
|
||||
attr_accessor :tag, :password, :pki
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue