diff --git a/app/views/sites/_form.haml b/app/views/sites/_form.haml index ec2712bf..8d909d79 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