5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 18:26:21 +00:00
panel/app/views/deploys/_deploy_social_distributed_press.haml
f f23c585933
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fixup! feat: habilitar/deshabilitar activity pub
2023-08-31 09:43:12 -03:00

21 lines
602 B
Text

-# Publicar a la web distribuida
.row
.col
= deploy.hidden_field :id
= deploy.hidden_field :type
.custom-control.custom-switch
-#
El checkbox invierte la lógica de destrucción porque queremos
crear el deploy si está activado y destruirlo si está
desactivado.
= deploy.check_box :_destroy,
{ checked: deploy.object.persisted?, class: 'custom-control-input' },
'0', '1'
= deploy.label :_destroy, class: 'custom-control-label' do
%h3= t('.title')
= sanitize_markdown t('.help'),
tags: %w[p strong em a]
%hr/