diff --git a/app/views/sites/_form.haml b/app/views/sites/_form.haml index e35502b2..377b43b4 100644 --- a/app/views/sites/_form.haml +++ b/app/views/sites/_form.haml @@ -23,7 +23,7 @@ = f.text_field :name, class: form_control(site, :name), required: true, - pattern: '^([a-z0-9][a-z0-9\-]*)?[a-z0-9\.]$', + pattern: '^([a-z0-9][a-z0-9\-]*)?[a-z0-9\.](\.testing)?$', minlength: 1, maxlength: 63 - if invalid? site, :name