From 58d7fabed4bc20f43f71aa00123deb68e532ea6e Mon Sep 17 00:00:00 2001 From: f Date: Thu, 25 Jun 2020 15:17:28 -0300 Subject: [PATCH] todavia no editamos alternativedomain --- app/views/deploys/_deploy_alternative_domain.haml | 3 +++ app/views/deploys/_deploy_www.haml | 1 + app/views/deploys/_deploy_zip.haml | 1 + app/views/sites/_form.haml | 1 - 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 app/views/deploys/_deploy_alternative_domain.haml diff --git a/app/views/deploys/_deploy_alternative_domain.haml b/app/views/deploys/_deploy_alternative_domain.haml new file mode 100644 index 0000000..529ff9d --- /dev/null +++ b/app/views/deploys/_deploy_alternative_domain.haml @@ -0,0 +1,3 @@ +-# Formulario para alojar el sitio en un dominio alternativo + +-# TodavĂ­a no mostramos nada diff --git a/app/views/deploys/_deploy_www.haml b/app/views/deploys/_deploy_www.haml index 2f91c0d..bbeebf9 100644 --- a/app/views/deploys/_deploy_www.haml +++ b/app/views/deploys/_deploy_www.haml @@ -15,3 +15,4 @@ = deploy.label :_destroy, t('.title') = sanitize_markdown t('.help', fqdn: deploy.object.fqdn), tags: %w[p strong em a] +%hr/ diff --git a/app/views/deploys/_deploy_zip.haml b/app/views/deploys/_deploy_zip.haml index 0875b4a..16215d5 100644 --- a/app/views/deploys/_deploy_zip.haml +++ b/app/views/deploys/_deploy_zip.haml @@ -19,3 +19,4 @@ fqdn: deploy.object.site.hostname, file: deploy.object.file || "#{name}.zip"), tags: %w[p strong em a] +%hr/ diff --git a/app/views/sites/_form.haml b/app/views/sites/_form.haml index 4bb98cf..42da331 100644 --- a/app/views/sites/_form.haml +++ b/app/views/sites/_form.haml @@ -105,7 +105,6 @@ = f.fields_for :deploys do |deploy| = render "deploys/#{deploy.object.type.underscore}", deploy: deploy, site: site - %hr/ - else = f.fields_for :deploys do |deploy| - next unless deploy.object.is_a? DeployLocal