todavia no editamos alternativedomain

This commit is contained in:
f 2020-06-25 15:17:28 -03:00
parent e666fe8de9
commit 58d7fabed4
4 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,3 @@
-# Formulario para alojar el sitio en un dominio alternativo
-# Todavía no mostramos nada

View file

@ -15,3 +15,4 @@
= deploy.label :_destroy, t('.title') = deploy.label :_destroy, t('.title')
= sanitize_markdown t('.help', fqdn: deploy.object.fqdn), = sanitize_markdown t('.help', fqdn: deploy.object.fqdn),
tags: %w[p strong em a] tags: %w[p strong em a]
%hr/

View file

@ -19,3 +19,4 @@
fqdn: deploy.object.site.hostname, fqdn: deploy.object.site.hostname,
file: deploy.object.file || "#{name}.zip"), file: deploy.object.file || "#{name}.zip"),
tags: %w[p strong em a] tags: %w[p strong em a]
%hr/

View file

@ -105,7 +105,6 @@
= f.fields_for :deploys do |deploy| = f.fields_for :deploys do |deploy|
= render "deploys/#{deploy.object.type.underscore}", = render "deploys/#{deploy.object.type.underscore}",
deploy: deploy, site: site deploy: deploy, site: site
%hr/
- else - else
= f.fields_for :deploys do |deploy| = f.fields_for :deploys do |deploy|
- next unless deploy.object.is_a? DeployLocal - next unless deploy.object.is_a? DeployLocal