Horizontal form for domain form

This commit is contained in:
Martin Lensment 2014-10-07 18:00:14 +03:00
parent 9f878f219c
commit dae80e3cb8
7 changed files with 64 additions and 63 deletions

View file

@ -8,6 +8,10 @@ class Dnskey < ActiveRecord::Base
validate :validate_protocol
validate :validate_flags
ALGORITHMS = %w(3 5 6 7 8 252 253 254 255)
PROTOCOLS = %w(3)
FLAGS = %w(0 256 257)
def epp_code_map
{
'2005' => [